Generalized all-in-one parameters module.
Project description
Description
Generalized all-in-one parameters module.
This package provides a single interface to environment variables’, configuration files’, and command line arguments’ provided values. The dictionary-like interface makes interacting with these, most of the time disparate, resources much simpler. It also allows parameters’ values to be set in any of the three sources and selects an appropriate value when a parameter’s value is specified in multiple sources. This way the most expected value, according to the normal prcedence—command line arguments then configuration files then environment variables, is always returned.
Installation
This package is stored in PyPI and can be installed the standard way:
pip install crumbs
The latest release available is:
Using Crumbs
Usage of this package is outlined in the documentation:
pydoc crumbs
Developing Crumbs
If you would prefer to clone this package directly from git or assist with development, the URL is https://github.com/alunduil/crumbs.
Crumbs is tested continuously by Travis-CI and running the tests is quite simple:
flake8 nosetests
The current status of the build is:
Known Issues
Known issues can be found in the github issue list at https://github.com/alunduil/crumbs/issues.
Troubleshooting
If you need to troubleshoot an issue or submit information in a bug report, we recommend obtaining the following pieces of information:
output with debug logging turned on in your application
any relevant stack traces
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for crumbs-2.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 058c8d994be749509331ef285139f92c20c86fd555749af16746fc179f5eaf4c |
|
MD5 | 85ee63d0031df2f566380b9062cc19c0 |
|
BLAKE2b-256 | 6a460171a0b898a6167112bc189fc33a48dcc2c5c201f075dbcd4129fd93adb2 |