environs
simplified environment variable parsing (by sloria)
dynaconf
Configuration Management for Python ⚙ (by dynaconf)
environs | dynaconf | |
---|---|---|
5 | 4 | |
1,123 | 3,525 | |
- | 0.8% | |
8.1 | 8.3 | |
8 days ago | 2 days ago | |
Python | Python | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
environs
Posts with mentions or reviews of environs.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Python scripting - How to hide API static password?
I recommend this simple library for that purpose
-
Setup environment variables in Django - Preneure
That's nice but you may like https://github.com/sloria/environs it's very flexible
-
CS50w Final Project readme.MD problem.
- Environment variables for production and more security (environs https://github.com/sloria/environs),
-
Is aiohttp safe to use for a public webhook listener?
I like https://github.com/sloria/environs
-
Django Best Practices: Security
There are multiple ways to implement environment variables and various third-party packages that can help. Personally, I like using environs, which has a Django-specific option that installs a number of additional packages that help with configuration.
dynaconf
Posts with mentions or reviews of dynaconf.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-27.
- 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
What are some alternatives?
When comparing environs and dynaconf you can also consider the following projects:
django-environ - Django-environ allows you to utilize 12factor inspired environment variables to configure your Django application.
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.
python-decouple - Strict separation of config from code.
ConfigParser
django-dotenv - Loads environment variables from .env
confuse - painless YAML config files for Python