Skip to main content

Flexible reading and writing of namespaced configuration options

Project description


Copyright Mozilla, 2013 - 2015

General tool for setting up configuration options per namespaces. Supports reading and writing configs generally from and into config files.

Running tests

We use [nose]( to run all the unit tests and [tox]( to test multiple python versions. To run the whole suite just run:


tox will pass arguments after to nosetests. To run with test coverage calculation, run tox like this:

tox – –with-coverage –cover-html –cover-package=configman

If you want to run a specific test in a testcase class, though, you might consider just using nosetests:

nosetests configman.tests.test_config_manager:TestCase.test_write_flat

Making a release

Because our .travis.yml has all the necessary information to automatically make a release, all you need to do is to push a commit onto master. Most likely you will only want to do this after you have edited the configman/version.txt file. Suppose you make some changes:

git add configman/ git commit -m “fixed something”

You might want to push that to your fork and make a pull request. Then, to update the version and make a release, first do this:

vim configman/version.txt git add configman/version.txt git commit -m “bump to version x.y.z” git push origin master

After that travis, upon a successful build will automatically make a new tarball and wheel and upload it to [PyPI](

Project details

Download files

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

Files for configman, version 1.3.0
Filename, size & hash File type Python version Upload date
configman-1.3.0-py2-none-any.whl (115.1 kB) View hashes Wheel py2
configman-1.3.0-py3-none-any.whl (115.1 kB) View hashes Wheel py3
configman-1.3.0.tar.gz (89.8 kB) View hashes 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