2022-04-19 04:09:05 +02:00
|
|
|
####
|
|
|
|
cfig
|
|
|
|
####
|
|
|
|
|
2022-04-20 04:15:10 +02:00
|
|
|
The :mod:`cfig` package provides a simple but powerful configuration manager for Python applications.
|
2022-04-19 04:09:05 +02:00
|
|
|
|
|
|
|
|
2022-04-21 01:32:20 +02:00
|
|
|
Pitch
|
|
|
|
=====
|
|
|
|
|
2022-04-21 05:39:37 +02:00
|
|
|
| Ever had trouble making your application configurable?
|
|
|
|
| Ever fought with global objects which impeded code reuse?
|
|
|
|
| Ever had a confused user ask you how to configure your application?
|
|
|
|
| In that case, :mod:`cfig` is for you!
|
2022-04-21 01:32:20 +02:00
|
|
|
|
|
|
|
|
2022-04-21 19:14:09 +02:00
|
|
|
Screenshots
|
|
|
|
===========
|
2022-04-21 01:32:20 +02:00
|
|
|
|
2022-04-21 05:39:37 +02:00
|
|
|
.. figure:: example-definition.png
|
2022-04-21 01:32:20 +02:00
|
|
|
|
2022-04-21 05:39:37 +02:00
|
|
|
An example configuration value is defined.
|
2022-04-21 01:32:20 +02:00
|
|
|
|
2022-04-21 05:39:37 +02:00
|
|
|
.. figure:: example-usage.png
|
|
|
|
|
|
|
|
The previously defined configuration value is used in the program.
|
|
|
|
|
|
|
|
.. figure:: example-configuration.png
|
|
|
|
|
|
|
|
An user configuring the program previews the current configuration.
|
2022-04-21 01:32:20 +02:00
|
|
|
|
|
|
|
|
2022-04-20 22:29:40 +02:00
|
|
|
Table of contents
|
|
|
|
=================
|
2022-04-19 04:09:05 +02:00
|
|
|
|
2022-04-20 22:29:40 +02:00
|
|
|
.. toctree::
|
2022-04-19 04:09:05 +02:00
|
|
|
|
2022-04-20 22:29:40 +02:00
|
|
|
goals
|
2022-04-21 01:32:20 +02:00
|
|
|
installation
|
|
|
|
quickstart
|
2022-04-22 18:21:53 +02:00
|
|
|
advanced
|
2022-04-20 22:29:40 +02:00
|
|
|
reference
|
2022-04-19 04:09:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
Other tables and links
|
|
|
|
======================
|
|
|
|
|
|
|
|
* :ref:`genindex`
|
|
|
|
* :ref:`modindex`
|
|
|
|
* :ref:`search`
|