A config loader for Python projects
Project description
Python Config Loader
The objective of this library is to easily load external configs for a Python project and use it for anywhere in your project.
How to use it
Install with pip
pip install adaendra-python-config-loader
Import the configs and use it!
from AdaendraConfigs import AdaendraConfigs
print(AdaendraConfigs.configs.abc)
Environment variables
Name | Description | Default value |
---|---|---|
CONFIG_ENVIRONMENT | Environment to load | None |
CONFIG_FOLDER | Path to the config files | '/app/resources' |
CONFIG_FILE_EXTENSION | File extensions of your config file. Allow : '.yml'/'.yaml'/'.json' | '.yaml' |
CONFIG_PROJECT_NAME | Name of your project (which is generally the name of the config files) | 'application' |
Documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for adaendra_python_config_loader-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbcfc14cc82cd93437710f8e69a468dae4d14cbde870e757ad694df24dc59245 |
|
MD5 | 4e45cfa526897e99b81f882c499a1f51 |
|
BLAKE2b-256 | 896ca5b9ea5e1f9eba2c2a7837f5c02c53c0614cb4ff555f7f7a7277ce1ba479 |
Close
Hashes for adaendra_python_config_loader-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2140d40efa4fea32c678a7056e041e9dac06ac420c3c4191a44fbce61c1824b |
|
MD5 | 1a6ed2ec6c045835245566afecd8bfdc |
|
BLAKE2b-256 | 1c9807344298f2c0d0dbc3cb94e25dcf038ebbff3ae923cbfdb5cd372515d639 |