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
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 220fb5198c73098665be7ebed9998cb155249f6cb72d182971833e02e77b38e5 |
|
MD5 | 17cc9ce8cc995edf72e60fd23ee13b9d |
|
BLAKE2b-256 | ffceff1adcd7ca60e54e4cfa1c51f314b923a8bc915fb4559448c2cf690379c6 |
Close
Hashes for adaendra_python_config_loader-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2c4988cdfcf0663f1c09ba568988c5c916d5e33237f0353ee363215c45063a0 |
|
MD5 | 786b9084bf25ed0a0518c54d26d10408 |
|
BLAKE2b-256 | beb70ba9e5f4dc3927ea88a29871c5121c7e7b19bdcf84b023f1b892f5ac2fee |