Skip to main content

Structured Configuration Library

Project description

ZConfig is a configuration library intended for general use. It supports a hierarchical schema-driven configuration model that allows a schema to specify data conversion routines written in Python. ZConfig’s model is very different from the model supported by the ConfigParser module found in Python’s standard library, and is more suitable to configuration-intensive applications.

ZConfig schema are written in an XML-based language and are able to “import” schema components provided by Python packages. Since components are able to bind to conversion functions provided by Python code in the package (or elsewhere), configuration objects can be arbitrarily complex, with values that have been verified against arbitrary constraints. This makes it easy for applications to separate configuration support from configuration loading even with configuration data being defined and consumed by a wide range of separate packages.

ZConfig is licensed under the Zope Public License, version 2.1. See the file LICENSE.txt in the distribution for the full license text.

Reference documentation is available in the doc/ directory.

Information on the latest released version of the ZConfig package is available at

http://www.zope.org/Members/fdrake/zconfig/

You may either create an RPM and install this, or install directly from the source distribution.

There is a mailing list for discussions and questions about ZConfig; more information on the list is available at

http://mail.zope.org/mailman/listinfo/zconfig/

Installing from the source distribution

For a simple installation:

python setup.py install

To install to a user’s home-dir:

python setup.py install --home=<dir>

To install to another prefix (for example, /usr/local):

python setup.py install --prefix=/usr/local

If you need to force the python interpreter to (for example) python2:

python2 setup.py install

For more information on installing packages, please refer to Installing Python Modules.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ZConfig-2.5.tar.gz (250.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page