{"id":22983088,"url":"https://github.com/joeriddles/django-di","last_synced_at":"2025-04-02T10:21:21.838Z","repository":{"id":187264297,"uuid":"676607166","full_name":"joeriddles/django-di","owner":"joeriddles","description":"Django dependency injection inspired by ASP.NET","archived":false,"fork":false,"pushed_at":"2023-11-01T23:27:29.000Z","size":20,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T02:45:44.726Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/joeriddles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2023-08-09T15:31:17.000Z","updated_at":"2023-08-09T15:35:22.000Z","dependencies_parsed_at":"2023-08-09T16:55:01.772Z","dependency_job_id":"6d529911-f4b5-4e82-b9f4-fbc5f2182deb","html_url":"https://github.com/joeriddles/django-di","commit_stats":null,"previous_names":["joeriddles/django-di"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeriddles%2Fdjango-di","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeriddles%2Fdjango-di/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeriddles%2Fdjango-di/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeriddles%2Fdjango-di/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joeriddles","download_url":"https://codeload.github.com/joeriddles/django-di/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246794206,"owners_count":20834938,"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":[],"created_at":"2024-12-15T02:35:08.156Z","updated_at":"2025-04-02T10:21:21.766Z","avatar_url":"https://github.com/joeriddles.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django DI\n\n\u003cp style=\"align: center\"\u003e\n    \u003ca href=\"https://pypi.org/project/django-di\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/v/django-di?label=PyPI\" alt=\"Package version\" /\u003e\n    \u003c/a\u003e\n\u003c/p\n\n# \u003c!-- this reset markdown mode somehow --\u003e\n\n### What is django-di and why you need it\n\ndjango-di is a revolutionary tool designed to supercharge your Django app development. It harnesses the power of the dependency injection pattern, allowing you to manage complex dependencies and reduce tight coupling in your code with ease. No more spaghetti code or tangled dependencies - with django-di, you can focus on building clean, modular, and maintainable apps.\n\n### Benefits of using dependency injection in Django\n\nDependency injection promotes loose coupling by externalizing dependencies. This means instead of hardcoding dependencies directly into your code, you define them externally, and django-di handles the rest. This decoupling improves overall code structure, organization, and facilitates easier maintenance, testing, and swapping out of components.\n\n---\n\n### Build\n\nNote: these comands assume a valid [`~/.pypirc`](https://packaging.python.org/en/latest/specifications/pypirc/) file is configured.\n\nSee the [official packaging docs](https://packaging.python.org/en/latest/tutorials/packaging-projects/) for more info.\n\n```shell\npython3 -m pip install --upgrade build twine\npython3 -m build\n```\n\nUpload to [test.pypi.org](https://test.pypi.org)\n\n```shell\npython3 -m twine upload --repository testpypi dist/*\n```\n\nUpload to [PyPI](https://pypi.org)\n\n```shell\npython3 -m twine upload dist/*\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeriddles%2Fdjango-di","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoeriddles%2Fdjango-di","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeriddles%2Fdjango-di/lists"}