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

Flexible parameter management

Project Description

Milieu allows easy parameter configuration using environment variables or
json files.

Usage Examples

The following code creates a milieu instance that reads environment variables,
then reads the WORKON_HOME variable.

>>> import milieu
>>> M = milieu.init()

The following code create a milieu instance from a json file, the reads the
several variables variable:

>>> import milieu
>>> M= milieu.init(path='/tmp/file.json')
>>> M.baz
[u'one', u'two', u'three']

The json associated to this example is:

"foo": "fizz",
"bar": "buzz",
"baz": ["one", "two", "three"]
Release History

Release History

This version
History Node


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
unholster.milieu-1.0.0-py2.7.egg (6.3 kB) Copy SHA256 Checksum SHA256 2.7 Egg Oct 5, 2013
unholster.milieu-1.0.0.tar.gz (4.2 kB) Copy SHA256 Checksum SHA256 Source Oct 5, 2013

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