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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d9829429b38b351f0f47a64fd864a605991a8715b67abcd8a4a0b9ddd5c2ba2 |
|
MD5 | a5ed9d5f34f03a5fadcbf13cda487669 |
|
BLAKE2b-256 | 758b11651eb625c9e18a6d5eea6202695126c44701bb945127c97dbbae09e892 |
Close
Hashes for adaendra_python_config_loader-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3473f1ad4fe02626e89c5c8ec48a30e46c24e0476273e1036f070e4c819d8731 |
|
MD5 | bb75c5300f33fe4715aadde2fa427c76 |
|
BLAKE2b-256 | d2ddafe9178ada5577fda635e9a0d78f7435a8284ac2e3cf7351768da40b47bd |