{"id":21222079,"url":"https://github.com/mrthearman/django-environment-config","last_synced_at":"2025-07-10T13:33:06.468Z","repository":{"id":236485883,"uuid":"792704657","full_name":"MrThearMan/django-environment-config","owner":"MrThearMan","description":"Configure django settings for multiple environments.","archived":false,"fork":false,"pushed_at":"2025-07-07T19:45:31.000Z","size":3288,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-07T22:57:32.194Z","etag":null,"topics":["config","configuration","django","dotenv","env","settings"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/django-environment-config/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MrThearMan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-27T10:34:20.000Z","updated_at":"2025-07-07T02:44:20.000Z","dependencies_parsed_at":"2024-05-20T03:43:42.409Z","dependency_job_id":"006b4a89-46c9-4bf5-bd8b-f85683f99ce0","html_url":"https://github.com/MrThearMan/django-environment-config","commit_stats":null,"previous_names":["mrthearman/django-env-config","mrthearman/django-environment-config"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/MrThearMan/django-environment-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrThearMan%2Fdjango-environment-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrThearMan%2Fdjango-environment-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrThearMan%2Fdjango-environment-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrThearMan%2Fdjango-environment-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrThearMan","download_url":"https://codeload.github.com/MrThearMan/django-environment-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrThearMan%2Fdjango-environment-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264585372,"owners_count":23632647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["config","configuration","django","dotenv","env","settings"],"created_at":"2024-11-20T22:39:33.808Z","updated_at":"2025-07-10T13:33:05.886Z","avatar_url":"https://github.com/MrThearMan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Environment Config\n\n[![Coverage Status][coverage-badge]][coverage]\n[![GitHub Workflow Status][status-badge]][status]\n[![PyPI][pypi-badge]][pypi]\n[![GitHub][licence-badge]][licence]\n[![GitHub Last Commit][repo-badge]][repo]\n[![GitHub Issues][issues-badge]][issues]\n[![Downloads][downloads-badge]][pypi]\n[![Python Version][version-badge]][pypi]\n\n```shell\npip install django-environment-config\n```\n\n---\n\n**Documentation**: [https://mrthearman.github.io/django-environment-config/](https://mrthearman.github.io/django-environment-config/)\n\n**Source Code**: [https://github.com/MrThearMan/django-environment-config/](https://github.com/MrThearMan/django-environment-config/)\n\n**Contributing**: [https://github.com/MrThearMan/django-environment-config/blob/main/CONTRIBUTING.md](https://github.com/MrThearMan/django-environment-config/blob/main/CONTRIBUTING.md)\n\n---\n\nInspired by [django-configurations], this library aims to provide a simple way to configure\nsettings for different environments in Django applications. For example, you might want to\nhave different settings for local development compared to production, and different still when\nrunning automated tests or in checks in you CI.\n\n## Overview\n\nEnvironments are defined with a simple class-based configuration in the `settings.py` module.\n\n```python\nfrom env_config import Environment, values\n\nclass Example(Environment):\n    DEBUG = True\n    SECRET_KEY = values.StringValue()\n    ALLOWED_HOSTS = values.ListValue(default=[\"*\"])\n    DATABASES = values.DatabaseURLValue()\n```\n\nThe Environment must be selected by setting the `DJANGO_SETTINGS_ENVIRONMENT`\nenvironment variable to the name of the class.\n\n```shell\nDJANGO_SETTINGS_ENVIRONMENT=Example python manage.py runserver\n```\n\nCheck out the [docs] for more information.\n\n[django-configurations]: https://github.com/jazzband/django-configurations\n[docs]: https://mrthearman.github.io/django-environment-config/\n\n[coverage-badge]: https://coveralls.io/repos/github/MrThearMan/django-environment-config/badge.svg?branch=main\n[status-badge]: https://img.shields.io/github/actions/workflow/status/MrThearMan/django-environment-config/test.yml?branch=main\n[pypi-badge]: https://img.shields.io/pypi/v/django-environment-config\n[licence-badge]: https://img.shields.io/github/license/MrThearMan/django-environment-config\n[repo-badge]: https://img.shields.io/github/last-commit/MrThearMan/django-environment-config\n[issues-badge]: https://img.shields.io/github/issues-raw/MrThearMan/django-environment-config\n[version-badge]: https://img.shields.io/pypi/pyversions/django-environment-config\n[downloads-badge]: https://img.shields.io/pypi/dm/django-environment-config\n\n[coverage]: https://coveralls.io/github/MrThearMan/django-environment-config?branch=main\n[status]: https://github.com/MrThearMan/django-environment-config/actions/workflows/test.yml\n[pypi]: https://pypi.org/project/django-environment-config\n[licence]: https://github.com/MrThearMan/django-environment-config/blob/main/LICENSE\n[repo]: https://github.com/MrThearMan/django-environment-config/commits/main\n[issues]: https://github.com/MrThearMan/django-environment-config/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrthearman%2Fdjango-environment-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrthearman%2Fdjango-environment-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrthearman%2Fdjango-environment-config/lists"}