Skip to content

JustAPI

Python web framework powered by Rust. Built to handle real traffic.
Framework Requests/sec p50 Latency p99 Latency
JustAPI (native fast path) 701,234 0.07 ms 0.19 ms
JustAPI (Python handler) 60,297 1.03 ms 5.21 ms
Robyn 0.88 39,103 1.78 ms 11.47 ms
Granian 69,195 0.72 ms 3.87 ms
FastAPI + Uvicorn 36,189 1.72 ms 24.63 ms

All measurements on the same hardware (i5-13600K, 20 threads), 100 concurrent connections, 30s duration.

JustAPI runs your Python application logic on top of a Rust networking stack. Routing, TLS, serialization, compression — all handled in Rust before your code even runs.

main.py
from justapi import JustAPIApp
app = JustAPIApp()
@app.get("/")
def hello():
return {"message": "Hello from JustAPI!"}
Terminal
$ pip install justapi
$ python main.py
INFO: JustAPI running on http://127.0.0.1:8000

Open /docs for Swagger UI, /redoc for ReDoc, and the full OpenAPI schema — generated automatically from your code.

FastAPI-Compatible

Same decorators, Pydantic models, dependency injection. Switch with one import.

Rust Under the Hood

Networking, TLS, routing, serialization run in Rust. Python does the rest.

Zero GIL

GIL released during I/O. Works with free-threaded Python 3.13t/3.14t.

Production-Ready

JWT auth, rate limiting, circuit breakers, OpenTelemetry, health checks.

Multi-Protocol

REST, GraphQL, gRPC, JSON-RPC 2.0 — all in one app.

Auto Docs

Swagger UI, ReDoc, Scalar. Generated from your code.

Terminal
$ pip install justapi
$ uv pip install justapi
$ uvx justapi create my_app