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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dbf6170cc87926c6268399d6b407d68b6ff396093742f17b957a806a6f2b184 |
|
MD5 | d5148bece1fadcd0afbbdd16c95c8ca5 |
|
BLAKE2b-256 | d3ae4a0f2080e3e564769a14a9328ed62bae7261059aacba5417555d2574d365 |
Close
Hashes for adaendra_python_config_loader-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a0e05d5a0e9b6f98cb77b0ab95e2d45f9d8e5b50c527143d6e70a371e0350ba |
|
MD5 | 45b238718a76dc4df184f3727390f2d7 |
|
BLAKE2b-256 | 59cba0a5e76cf35bb2c9fe20a2e6dc798ad53bfb636e47c8072db561de7f1894 |