Credits
Original idea¶
Thanks to this great answer on StackOverflow, this package was created.
Source code¶
- The idea to use Django signals in the ASGI handler comes from this closed pull request: https://github.com/django/django/pull/13636
- The implementation of lifespan handling is based on the code sample from ASGI specification.
- The design and usage is inspired by Starlette and FastAPI.
Package and repository structure¶
This package is based on waynerv/cookiecutter-pypackage (Cookiecutter template). Dev tools can be run manually via Taskfiles or automatically via Pre-commit hooks.