* Allow passing arguments to the generator function in fastapi sdk
* Allow passing extra headers in FastAPI streaming response
* Keep method signature of upstream FastAPI streaming response
* Split out python sdk frameworks into their own modules
Make all python sdk frameworks mirror the native way of streaming responses
* Rename the sanic helper in python sdk to match sanic convention.
Add some type hinting to sanic helper
* ruff format new python sdk files
* fix: support connection header over WSGI
Per spec, WSGI doesn't allow the connection header:
https://peps.python.org/pep-0333/#other-http-features
This commit works around that limitation and permits the connection
header over a WSGI connection.
* feat: add WSGI views/urls to Django example
* build(py-sdk): add django/datastar_py/daphne pkgs
Other related changes:
* Added "daphne" to INSTALLED_APPS to provide us with an ASGI runserver.
* Changed a setting to make ASGI the default.
* docs: add a README to the example Django project
The docs explain why Django devs should use ASGI and explain how to use
WSGI if needed.