config-manager: Read and manage configuration data for your application
Build Status
Project details
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.
Metadata
Release files for config-manager 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| config-manager-1.1.2.tar.gz | 5.8 kB | Without provenance | Details for config-manager-1.1.2.tar.gz |
Release files / config-manager-1.1.2.tar.gz
| Download URL | config-manager-1.1.2.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bf8d16a1e1d25ada7b01dba82cdf220e0d40a6016662568dd6f4968d6f51103
|
|
BLAKE2b-256 checksum How to use checksums |
48b0c18509ee337102ee8ff419994a93dc13ef137ba44aa5908f48dbf07e4f68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5rc1
|
Security for config-manager 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.