python-gunicorn
hypercorn
python-gunicorn | hypercorn | |
---|---|---|
2 | 3 | |
4 | 992 | |
- | - | |
6.8 | 7.9 | |
18 days ago | 8 days ago | |
Shell | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
python-gunicorn
-
Any decent way to add "startup code" that runs before the flask app instance starts?
If you're using docker the multi-py gunicorn image might be useful to you.
-
Gunicorn
The multi-py project has a cross platform gunicorn container that works with Intel and Arm out of the box.
https://github.com/multi-py/python-gunicorn
There's also a uvicorn one there for people who want the async features.
https://github.com/multi-py/python-uvicorn
And a container that combines both (although it's often better to just use uvicorn and add more containers to your API to scale up).
https://github.com/multi-py/python-gunicorn-uvicorn
hypercorn
-
Granian – a Rust HTTP server for Python applications
for those wishing to use http3 with a Python web framework, the ASGI hypercorn[1] currently supports it.
made a Django example last week with a sample client based on the examples from aioquic[2]: https://github.com/djstein/django-http3-example
this example also includes the first pass at async Django REST Framework using adrift[3] based on these GitHub issues:
- https://github.com/encode/django-rest-framework/pull/8617
- https://github.com/encode/django-rest-framework/issues/8496
sources
[1]: https://github.com/pgjones/hypercorn
[2]: https://github.com/aiortc/aioquic
[2]: https://github.com/em1208/adrf
-
Best method to communicate between Svelte front-end and python back-end
what about hyopercorn ? looks like it supports http3
-
Serve any WSGI or ASGI app over HTTP/2 or HTTP/3
By using Hypercorn like so:
What are some alternatives?
python-uvicorn - Multiarchitecture Docker Containers for Python and Uvicorn
uvicorn - An ASGI web server, for Python. 🦄
gunicorn - gunicorn 'Green Unicorn' is a WSGI HTTP Server for UNIX, fast clients and sleepy applications.
hypercorn
daphne - Django Channels HTTP/WebSocket server
python-gunicorn-uvicorn - Multiarchitecture Docker Containers for Python using Gunicorn and Uvicorn
aioquic - QUIC and HTTP/3 implementation in Python
python-celery - Multiarchitecture Docker Containers for Celery
trio - Trio – a friendly Python library for async concurrency and I/O