joke2k/django-environ
Django-environ allows you to utilize 12factor inspired environment variables to configure your Django application. observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 99
- Release rhythm 65
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 120
- age_days: 4901
- days_rel: 76
- days_push: 7
- n_releases_24m: 4
Adoption not part of the score
3165 stars · 340 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
django-environ is a Python package that lets you configure Django applications using environment variables following the Twelve-Factor methodology. It provides type casting, .env file loading, and URL parsing for database, cache, and email connection strings.
Use cases
- manage django settings with environment variables
- load configuration from a .env file in django
- parse database url strings into django database settings
- apply twelve-factor app configuration to django
- cast environment variables to bools, ints, and lists in django settings
- keep secrets like secret_key out of django source code
When to choose
- you want 12factor-style environment-based configuration for a Django project
- you need to parse DATABASE_URL or CACHE_URL style connection strings into Django settings
- you want typed casting and defaults for environment variables in settings.py
When to avoid
- you are not using Django (consider python-dotenv or pydantic-settings instead)
- you prefer file-based or static settings without environment variables
- you need configuration management for non-Python infrastructure
Facets
library · maturity active
configuration-management developer-tools web-development developer-tools backend python django environment-variables twelve-factor settings env-file 12factor web-server
2 sources
- readme: https://github.com/joke2k/django-environ · fetched 2026-08-28 · 5d3d601dec04
- registry_pypi: https://pypi.org/pypi/django-environ/json · fetched 2026-08-29 · e4137bd62ec2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| joke2k/django-environ | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="joke2k/django-environ")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem