dynaconf
gin-config
Our great sponsors
dynaconf | gin-config | |
---|---|---|
4 | 3 | |
3,491 | 1,981 | |
1.7% | 1.3% | |
8.4 | 4.6 | |
2 days ago | about 2 months ago | |
Python | Python | |
MIT License | Apache License 2.0 |
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
-
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
gin-config
-
hydra VS gin-config - a user suggested alternative
2 projects | 5 Jul 2022
Lightweight configuration framework for Python (created and maintained by Google) - Good combination of "easy to use" and "expressive API" - Directed support for TensorFlow and PyTorch - Maintained by Google
-
[D] Tools to avoid writing tons of scripts
GinConfig
What are some alternatives?
hydra - Hydra is a framework for elegantly configuring complex applications
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.
ConfigParser
python-decouple - Strict separation of config from code.
confuse - painless YAML config files for Python
django-environ - Django-environ allows you to utilize 12factor inspired environment variables to configure your Django application.
profig - A straightforward configuration library for Python.
sops - Simple and flexible tool for managing secrets
ConfigObj - Python 3+ compatible port of the configobj library
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-split-settings - Organize Django settings into multiple files and directories. Easily override and modify settings. Use wildcards and optional settings files.
django-dotenv - Loads environment variables from .env