pydantic-settings
django-split-settings
pydantic-settings | django-split-settings | |
---|---|---|
1 | 2 | |
456 | 1,064 | |
8.3% | 1.0% | |
8.2 | 7.9 | |
5 days ago | 15 days ago | |
Python | Python | |
MIT 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.
pydantic-settings
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
What are some alternatives?
dynaconf - Configuration Management for Python โ
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.
synko - [abandoned] ๐ Sync application configurations and settings across multiple multi-platform devices ๐ฅ๏ธ๐ป (linux and macos)
django-environ - Django-environ allows you to utilize 12factor inspired environment variables to configure your Django application.
ConfigParser
deescovery - Initialize modules of your Python projects on startup. Discover Flask blueprints, FastAPI endpoints, SQLAlchemy models, etc.
python-decouple - Strict separation of config from code.
sitri - Sitri - powerful settings & configs for python
ConfigObj - Python 3+ compatible port of the configobj library
django-dotenv - Loads environment variables from .env