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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2077cfd21da62bf3351236809b7429e597de5f07297d071c8fdb09b16432006 |
|
MD5 | 8bd880bcfd5d1721cba74f6cad8154d2 |
|
BLAKE2b-256 | 5d197b8840cfdb0dd3e957981e80eddd096496188ea40339502d497ad7458978 |
Close
Hashes for adaendra_python_config_loader-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d1707fc95c7c3ac49350493d92a09c291b90a8f6388eb56ce066546ca5b2d9d |
|
MD5 | 0804ecda0861b73acaefe7d4de794612 |
|
BLAKE2b-256 | 4e09887586a42da0e89dc19c805284e47fbb8c819dc9414dc5a82387a4ed3e47 |