dynaconf
xdgconfig
dynaconf | xdgconfig | |
---|---|---|
4 | 1 | |
3,525 | 3 | |
1.0% | - | |
8.3 | 1.8 | |
7 days ago | over 2 years ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dynaconf
- Dynamic s3 path while reading pyspark
-
How to organize Django settings
I've been meaning to take a look at https://github.com/rochacbruno/dynaconf lately. Seems really great, can even load values dynamically from external sources. Seems like the next evolution in configuration IMO ¯_(ツ)_/¯
-
How to secure secrets within a docker image?
I've recently learnt sops and for Django have combined that with dynaconf although it should work fine with any python.
- Stop hardcoding and start using config files instead, it takes very little effort with configparser
xdgconfig
What are some alternatives?
hydra - Hydra is a framework for elegantly configuring complex applications
omegaconf - Flexible Python configuration system. The last one you will ever need.
python-dotenv - Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.
confuse - painless YAML config files for Python
ConfigParser
cmdkit - A library for developing command-line applications in Python.
python-decouple - Strict separation of config from code.
parse_it - A python library for parsing multiple types of config files, envvars & command line arguments that takes the headache out of setting app configurations.
django-environ - Django-environ allows you to utilize 12factor inspired environment variables to configure your Django application.
profig - A straightforward configuration library for Python.