adrf
granian
adrf | granian | |
---|---|---|
1 | 15 | |
344 | 2,043 | |
- | 3.9% | |
7.3 | 9.2 | |
4 days ago | 6 days ago | |
Python | Rust | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" 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.
adrf
-
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
granian
-
Improving Interoperability Between Rust and C++
Yeah, PyO3 is great. I've tried to play around with releasing the GIL from rust in Python 3.12. I would enjoy writing a WSGI/ASGI server with a Celery runtime at some point too. Or contribute to Granian.
https://github.com/emmett-framework/granian
- RSGI Specification
- Granian 1.0 Is Out
- Granian HTTP server - Open call for core contributors/maintainers
- Robyn introduces SubRouters in v0.32.0
-
Robyn: a fast and extensible async Python web server with a Rust runtime
Recently I found this ASGI compatible server written in rust, but i haven’t tried it yet https://github.com/emmett-framework/granian
-
Granian – a Rust HTTP server for Python applications
Looks super interesting. One of the things that I wanted to improve on are Gunicorn's latency and here:
https://github.com/emmett-framework/granian/tree/master/benc...
What are some alternatives?
django-rest-framework - Web APIs for Django. 🎸
uvicorn - An ASGI web server, for Python. 🦄
django-http3-example - Example Repo of Django using HTTP/3
Robyn - Robyn is a Super Fast Async Python Web Framework with a Rust runtime.
hypercorn - Hypercorn is an ASGI and WSGI Server based on Hyper libraries and inspired by Gunicorn.
evue - Evue is a high-performance gui framework base an html/css which can run on windows/linux/macos/web/ios/andriod/rtos! Write once, run everywhere! .
aioquic - QUIC and HTTP/3 implementation in Python
starlette-admin - Fast, beautiful and extensible administrative interface framework for Starlette & FastApi applications