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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db916e7b6758e7f011659105eea529da0f33256f24091d2ba9995d2b0b96b54b |
|
MD5 | a0e4d32aaddb914fd69e4e3360582863 |
|
BLAKE2b-256 | 4430632214312a91d7b2914a09c057094c27a7cabc4beb19c97a57d3c7da7c98 |
Close
Hashes for adaendra_python_config_loader-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 380999b32e8ba4976b9754439b2b753837c135c4d9ca64be77a5d986fc74f5f1 |
|
MD5 | 32fa23e4455f7c7dacbc86dd459c0dba |
|
BLAKE2b-256 | 4f2536e95e4c4f756440b62cf4d94325ca304a8525207d543039a70616975d1b |