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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fc5af486e34ef38f1b31b8c3209081cf653180ee3378d0209b275a9e6c59530 |
|
MD5 | 05be4e166046cbd7885c162768e46a16 |
|
BLAKE2b-256 | 633854dc2e6296858c1edef329cd3b1543594587676afc5256656fe44087c3d9 |
Close
Hashes for adaendra_python_config_loader-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38a15733b1b34d52958415ade06fb1120653875d2aac0f4bed7090553a128ee2 |
|
MD5 | f0b3200d461054b8c21160daeb0da2ab |
|
BLAKE2b-256 | fbc0be289e03e6bcfc1dacc063f9d72223bbfd8ba2c4c4a55dd7cb4268e8545e |