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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d024a76162bbc88b6eb162840a5251e75553fa0d231b68cc503ff1d12c888af2 |
|
MD5 | 71328576c68ca94632954b6f242778a8 |
|
BLAKE2b-256 | ba009193f7526651d33a0735eb8767d38b77b41f338d3b7396edc3b0138ab93b |
Close
Hashes for adaendra_python_config_loader-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9026d38f976564ed69b30ab16f0a4d3e5269cd9e0dce4bf631b6ce376a2d437f |
|
MD5 | 6a4a664e7cfe7376890470dfc1d0cc6f |
|
BLAKE2b-256 | b6e4267001ca148aece8dac5a21aa17136809ca4d7520160949097311d5cd94b |