Skip to main content

Configuration Specification Manager

Project description

Supported Python versions Latest Version Downloads License Status Continuous Integration Coverage


confspec is a Python library - framework that allows an application to handle all it’s configuration options easily and with safety.

With confspec you don’t need to worry about parsing, importing or exporting configuration files. Nor casting or trying to parse, convert or interpret datatypes for each option. It will even handle the process to try to identify if the option is semantically valid and how to react when your options change.

To use confspec you need to:

  1. Define a specification for your options.
  2. Create a manager to handle it.
  3. Enjoy life. Now you just need to care about reading and changing your options. confspec will take care of reading, parsing, interpreting, validating, notifying, writing, exporting, importing, etc.

For a more in-depth documentation visit the project home page at:


pip install confspec


Run code QA:

pip install tox


User guide and API Reference can be found in:

To build it from source execute:

pip install sphinx sphinx_rtd_theme
cd doc/
make html


  • Finish (start) to write tutorial and improve documentation.
  • Improve Coverage.
  • Add to file system ConfigOpt’s a create keyword.

Possible Improvements

  • Add a XML format provider.
  • Add a YAML format provider.
  • Add a SQLite format provider.
  • Add capability for plugins to register custom ConfigOption subclasses.
  • Add integration with argparse.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
confspec-1.4.tar.gz (36.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page