Git Product home page Git Product logo

crumbs's Introduction

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

crumbs's People

Contributors

gregswift avatar b0d0nne11 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.