django-split-settings
django-configurations
Our great sponsors
django-split-settings | django-configurations | |
---|---|---|
2 | 1 | |
1,060 | 1,062 | |
1.2% | 1.4% | |
7.9 | 4.6 | |
4 days ago | about 1 month ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" 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.
django-split-settings
-
5 Deadly Mistakes Every Django Developer Should Know
Large settings.py file! Even close to 1 mg volume! This error often misleads you and other developers who are reading your code. Try not to make your settings.py file too large. Delete the comments first, then try using the split_settings tool to separate the project settings.
-
How do you organize your Settings.py file to keep it clean?
I'm using https://github.com/sobolevn/django-split-settings
django-configurations
What are some alternatives?
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
django-environ - Django-environ allows you to utilize 12factor inspired environment variables to configure your Django application.
python-decouple - Strict separation of config from code.
dynaconf - Configuration Management for Python ⚙
ConfigObj - Python 3+ compatible port of the configobj library
django-dotenv - Loads environment variables from .env
hydra - Hydra is a framework for elegantly configuring complex applications
classyconf - Declarative and extensible library for configuration & code separation
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.
profig - A straightforward configuration library for Python.
environs - simplified environment variable parsing