Skip to content

joeriddles/django-di

Repository files navigation

Django DI

Package version

What is django-di and why you need it

django-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.

Benefits of using dependency injection in Django

Dependency 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.


Build

Note: these comands assume a valid ~/.pypirc file is configured.

See the official packaging docs for more info.

python3 -m pip install --upgrade build twine
python3 -m build

Upload to test.pypi.org

python3 -m twine upload --repository testpypi dist/*

Upload to PyPI

python3 -m twine upload dist/*

About

Django dependency injection inspired by ASP.NET

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages