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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e771c0c31fc29ce5c48204486da000aadd6213529f4d7c1a160e721bde1263fd |
|
MD5 | 8d64343eb379888a21ca4959a22c4c4a |
|
BLAKE2b-256 | c1f1cc097521a66f8566dc91b7a5ab647854b64d6089a48aae875933429c0769 |
Close
Hashes for adaendra_python_config_loader-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68029c44940a8cfae98546c58168d1665149d545a6e86e3b6c9037725a9ca08f |
|
MD5 | 903c288656d1f237be1bd8757cd1665c |
|
BLAKE2b-256 | 170f49c33e4832ebb5e46ec569fe644813f43ecdb36d2e99f945224467cc4cfd |