# emmett-framework/granian

A Rust HTTP server for Python applications

Repository: https://github.com/emmett-framework/granian
Canonical: https://ross.abutalabs.com/products/granian
Language: Rust
License: BSD-3-Clause
License Family: permissive
Topics: asgi, asyncio, http, http-server, python, rust, rsgi, wsgi
Last push: 2026-08-23T16:48:39+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 1601, "days_push": 10, "days_rel": 10, "gap_med": 11.0, "n_releases_24m": 55}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5570, forks 171 (observed 2026-08-28T04:09:22.465508+00:00)

## What it is
Granian is a Rust-based HTTP server for Python applications built on Hyper and Tokio, serving ASGI, RSGI, and WSGI apps. It supports HTTP/1, HTTP/2, HTTPS/mTLS, websockets, and static file serving as a single high-performance dependency.

## Use cases
- serve an ASGI FastAPI app with a fast production server
- replace gunicorn + uvicorn with a single dependency
- serve a WSGI Flask/Django app over HTTP/2
- run a Python websocket server with high concurrency
- serve static files directly from a Python web app
- benchmark Python web server throughput

## When to choose
- you want one modern dependency to serve both ASGI and WSGI applications
- you need the most performant way to serve Python apps under HTTP/2
- you need great websocket concurrency and throughput
- you want a single package with wheels for several platforms

## When to avoid
- you need a pure Python solution
- you need advanced debugging features
- your app relies on trio or gevent
- you depend on ASGI extensions not yet implemented

## Facets
- artifact type: library
- maturity: active
- function: http-server, web-framework, websocket, cli
- domain: web-development, backend, developer-tools
- platform: python, rust, cross-platform, cli
- tags: asgi, wsgi, rsgi, hyper, tokio, http2, performance

## Member repositories
- emmett-framework/granian (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:22.465508+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:55:36.315520+00:00, confidence not recorded.
  - readme: https://github.com/emmett-framework/granian (fetched 2026-08-28T04:09:22.465508+00:00, sha d8f36fab039e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
