Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Configuration manager for python projects

Project description

Config Class

  • a class for managing project variables based upon bash env variables
  • recommended to be used with .export files Jon Morehouse Scripts

Sample Usage

from config import Config

# load variables from env
Config.load_from_list(["PATH", "PWD", "ENV"])

# load an exports file of the following format
# ENV=PRODUCTION
# MODULE=TEST
Config.load_from_path(".test.exports")

# load yaml/json file
Config.load_from_path("config.json")
Config.load_from_path("config.yml")

# access config
print Config.PATH

Project details


Release history Release notifications

This version
History Node

1.0.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
py-config-1.0.2.tar.gz (2.9 kB) Copy SHA256 hash SHA256 Source None Mar 12, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page