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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b84ef24029e9b848c33488560dbdf72ce16c70af83afc0885efd715fbf6fb15 |
|
MD5 | 7cdc78420909abc9f1f86f141a4eced2 |
|
BLAKE2b-256 | 633d0435a553cc323543da1029d4ad572bf0c47ca9c437d975ba05d0b9e9c48d |
Close
Hashes for adaendra_python_config_loader-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23fa59f94b8c0c9b7da25c61c73fc9e0e73235904b31b63d4e2a195aa4ee01d2 |
|
MD5 | 2d42fb6e91fa6d855c74b0ade51a01c7 |
|
BLAKE2b-256 | 2fbd18e5f69fc812d6048c3970596ce7ca65c5119f256d911935472e2734b567 |