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.
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.
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/*