granian | tinyhttp | |
---|---|---|
15 | 1 | |
2,061 | 5 | |
4.8% | - | |
9.2 | 7.8 | |
3 days ago | 2 months ago | |
Rust | Rust | |
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.
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...
tinyhttp
-
Looking to create a backend service for a website in Rust and I’m wondering on how to best do it
You could either build a static site with any JS framework like NextJS and host the HTML with any Rust backend like Axum or Rocket. I am the author of a tinyhttp, a lightweight HTTP server which I believe would meet your needs.
What are some alternatives?
uvicorn - An ASGI web server, for Python. 🦄
haro - A simple and synchronous web framework written in and for Rust
Robyn - Robyn is a Super Fast Async Python Web Framework with a Rust runtime.
Rouille, Rust web server middleware - Web framework in Rust
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! .
binserve - A fast production-ready static web server with TLS (HTTPS), routing, hot reloading, caching, templating, and security in a single-binary you can set up with zero code.
aioquic - QUIC and HTTP/3 implementation in Python
wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript
django-http3-example - Example Repo of Django using HTTP/3
Gotham - A flexible web framework that promotes stability, safety, security and speed.
adrf - Async support for Django REST framework
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.