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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5babef4228715475ec739dfed3df9efcaa1ec6c0808afad56ebe87a4eb3f854 |
|
MD5 | f98f44728d58236e0a34f004ad5d2791 |
|
BLAKE2b-256 | 8ff8de17542519c74f42e82115d65622c8b6c1e30b7425ada70ef4dd31f6dc27 |
Close
Hashes for adaendra_python_config_loader-0.1.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96cd28f2eada1483eaf80eadd2758b5da2c1f8dda424d1d6ff5d74548ae351c7 |
|
MD5 | 8d643b3058dcbe0a058375f1fcfa6f92 |
|
BLAKE2b-256 | 97be313b75e624c7cbf5156434cfc2fabf5bcafc0615ca738dffffc66e4c06d2 |