Skip to content

A basic configuration reader and manager for python projects

License

Notifications You must be signed in to change notification settings

afxentios/config-manager

Repository files navigation

config-manager: Read and manage configuration data for your application

Build Status

Travis-CI build status Code Coverage Code Health

Project details

License Pypi Version

Description

The config-manager package is a basic configuration reader and manager. It reads the configuration data from an external YAML or JSON file and it injects this data into the application that is called from. It's currently tested on Python 2.7.

Installation

pip install config-manager

or

download the latest release and run

python setup.py install

Usage

#configs.yaml contains the configuration data

from config_manager import ConfigManager
confman = ConfigManager(config_file_path='/path/to/configs.yaml', defaults={'maintenance':'False'}, required=['maintenance'])
maintenance = confman['maintenance']

License

This project is licensed under the MIT license.

About

A basic configuration reader and manager for python projects

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages