Skip to main content

A config loader for Python projects

Project description

Python Config Loader

badge

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adaendra_python_config_loader-0.1.10.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file adaendra_python_config_loader-0.1.10.tar.gz.

File metadata

  • Download URL: adaendra_python_config_loader-0.1.10.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for adaendra_python_config_loader-0.1.10.tar.gz
Algorithm Hash digest
SHA256 e771c0c31fc29ce5c48204486da000aadd6213529f4d7c1a160e721bde1263fd
MD5 8d64343eb379888a21ca4959a22c4c4a
BLAKE2b-256 c1f1cc097521a66f8566dc91b7a5ab647854b64d6089a48aae875933429c0769

See more details on using hashes here.

File details

Details for the file adaendra_python_config_loader-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: adaendra_python_config_loader-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for adaendra_python_config_loader-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 68029c44940a8cfae98546c58168d1665149d545a6e86e3b6c9037725a9ca08f
MD5 903c288656d1f237be1bd8757cd1665c
BLAKE2b-256 170f49c33e4832ebb5e46ec569fe644813f43ecdb36d2e99f945224467cc4cfd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page