aioquic
granian
aioquic | granian | |
---|---|---|
6 | 15 | |
1,545 | 2,061 | |
1.9% | 4.8% | |
8.5 | 9.2 | |
about 2 months ago | 1 day ago | |
Python | Rust | |
BSD 3-clause "New" or "Revised" License | 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.
aioquic
-
WinBtrfs – an open-source btrfs driver for Windows
One of the interesting patterns happening in Rust is io-less libraries. I'm not sure where best to link this phenomenon. It here s a open issue for an io-less quic library, from 2019, https://github.com/aiortc/aioquic/issues/4
It'd be so fracking sweet to see filesystems follow this pattern. If we could re-use the file system logic, but apply it to windows or fuse or Linux or wasm linearly-addressed-storage, that would allow such intensely cool forms of portability/reuse & bending/hacking.
- WebGPU – All of the cores, none of the canvas
-
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
- Caddyhttp: Enable HTTP/3 by Default
-
Is it better to learn web development with Python or C?
In your estimation where does the QUIC specification, HTTP/3 specification, WebTransport specification, aioquic QUIC and HTTP/3 implementation in Python https://github.com/aiortc/aioquic (notice the GoogleChrome/samples WebTransport sample code is described as local server "There's code for a sample local server at https://github.com/GoogleChrome/samples/blob/gh-pages/webtransport/webtransport_server.py") fit into the categories you color "Framework" and "Webserver"?
-
HTTP/3: Practical Deployment Options (Part 3)
Whilst the article rightly mentions aioquic to use HTTP/3 with Python, it is only a minimal example server. Hypercorn is a compete ASGI server built on aioquic that is likely more useful practically.
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?
hypercorn - Hypercorn is an ASGI and WSGI Server based on Hyper libraries and inspired by Gunicorn.
uvicorn - An ASGI web server, for Python. 🦄
Twisted - Event-driven networking engine written in Python.
Robyn - Robyn is a Super Fast Async Python Web Framework with a Rust runtime.
django-http3-example - Example Repo of Django using HTTP/3
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! .
hypercorn
mitmproxy - An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.
adrf - Async support for Django REST framework
sslyze - Fast and powerful SSL/TLS scanning library.