Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Flexible reading and writing of namespaced configuration options

Project Description

[![Travis](https://travis-ci.org/mozilla/configman.png?branch=master)](https://travis-ci.org/mozilla/configman)

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](http://code.google.com/p/python-nose/) to run all the unit tests and [tox](http://tox.testrun.org/latest/) to test multiple python versions. To run the whole suite just run:

tox

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/configman.py 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](https://pypi.python.org/pypi/configman)

Release History

Release History

This version
History Node

1.3.0

History Node

1.2.13

History Node

1.2.12

History Node

1.2.11

History Node

1.2.8

History Node

1.2.7

History Node

1.2.6

History Node

1.2.5

History Node

1.2.4

History Node

1.2.3

History Node

1.2.2

History Node

1.2.1

History Node

1.2.0

History Node

1.1.16

History Node

1.1.15

History Node

1.1.14

History Node

1.1.13

History Node

1.1.12

History Node

1.1.11

History Node

1.1.10

History Node

1.1.9

History Node

1.1.8

History Node

1.1.7

History Node

1.1.6

History Node

1.1.5

History Node

1.1.4

History Node

1.1.3

History Node

1.1.2

History Node

1.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
configman-1.3.0-py2-none-any.whl (115.1 kB) Copy SHA256 Checksum SHA256 py2 Wheel Jul 11, 2016
configman-1.3.0-py3-none-any.whl (115.1 kB) Copy SHA256 Checksum SHA256 py3 Wheel Jul 11, 2016
configman-1.3.0.tar.gz (89.8 kB) Copy SHA256 Checksum SHA256 Source Jul 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting