{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"}],"enrichment":{"capability":"Loads and parses environment variables from .env files to configure Django applications using Twelve-Factor methodology, with support for type casting and URL-based connection strings.","skillfed_tags":["django-configuration","environment-variables","12factor"],"use_cases":["Store database credentials and URLs in .env files without committing them to version control","Switch between development, staging, and production configurations by changing environment variables","Parse Redis and cache URLs into Django CACHES configuration dictionaries","Enable Docker deployments using file-based secrets mounted as environment variables","Centralize Django settings configuration in a single file instead of maintaining multiple settings_*.py variants"],"what_it_does":"django-environ bridges environment variables and Django settings by reading .env files and parsing their contents into typed Python objects. It implements the Twelve-Factor methodology, which treats configuration as environment-provided data rather than code, eliminating the need for multiple settings files per deployment environment.\n\nThe package handles three main tasks: loading variables from .env files into os.environ, casting string values to Python types (bool, int, list, etc.), and parsing connection URL strings (database, cache, email) into Django-compatible configuration dictionaries. It raises Django's ImproperlyConfigured exception when required variables are missing, catching configuration errors early. The single runtime dependency is typing_extensions, and it supports Python 3.9 through 3.14 across Django versions 2.2 to 6.0.","worth_installing":"Yes. django-environ is production-stable, actively maintained, has no known vulnerabilities, minimal install friction, and solves a standard Django configuration problem. It is widely adopted (top 5000 PyPI packages) and supports current Django and Python versions. Install it if you use Django and want environment-based configuration following industry best practices."},"id":"django-environ","links":{"html":"https://skillfed.io/packages/django-environ","md":"https://skillfed.io/packages/django-environ.md","pypi":"https://pypi.org/project/django-environ/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-18","license_spdx":null,"license_treatment":"permissive","name":"django-environ","python_support":"supports_current","summary":"A package that allows you to utilize 12factor inspired environment variables to configure your Django application."},"popularity":{"monthly_downloads":8557519,"position":1606,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.14.0"}
