Skip to main content

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:

https://badge.fury.io/py/crumbs.png

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:

https://secure.travis-ci.org/alunduil/crumbs.png?branch=master

Authors

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


Download files

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

Source Distribution

crumbs-2.1.0.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crumbs-2.1.0-py2.py3-none-any.whl (11.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file crumbs-2.1.0.tar.gz.

File metadata

  • Download URL: crumbs-2.1.0.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for crumbs-2.1.0.tar.gz
Algorithm Hash digest
SHA256 f1343b0e8096adc3717a9606d570457ec025677aa75f3abb34c9b7d1aab79fbf
MD5 c0ca1f7d6604466bf2ca7028e3afb8df
BLAKE2b-256 ca5c2ea9f2b98e9f66eb2c6fd9c14557594f4d7bb68449529eacaeabfc561c76

See more details on using hashes here.

File details

Details for the file crumbs-2.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for crumbs-2.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 360c11be59f4a7ad853c8ec3c3a7862645205b031734878222eac2da6883d8aa
MD5 c2447dab015a9029e63f67804074d930
BLAKE2b-256 bb11d9c23b2c09c43f76f4803e63011506390576afe2abc0823b4f0031be4af7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page