---
title: JustAPI
description: Python web framework powered by Rust. Handles 700k+ requests per second. FastAPI alternative with 20× performance.
template: splash
hero:
tagline: Python web framework powered by Rust. Built to handle real traffic.
image:
file: ../../assets/logo.svg
actions:
- text: Get Started
link: /getting-started/overview/
icon: right-arrow
variant: primary
- text: View on GitHub
link: https://github.com/swadhinbiswas/JustAPI
icon: external
variant: minimal
---
import { Card, CardGrid } from '@astrojs/starlight/components';
## Performance
| 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.
## What It Does
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.
```python title="main.py"
from justapi import JustAPIApp
app = JustAPIApp()
@app.get("/")
def hello():
return {"message": "Hello from JustAPI!"}
```
```bash title="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.
## Features
Same decorators, Pydantic models, dependency injection. Switch with one import.
Networking, TLS, routing, serialization run in Rust. Python does the rest.
GIL released during I/O. Works with free-threaded Python 3.13t/3.14t.
JWT auth, rate limiting, circuit breakers, OpenTelemetry, health checks.
REST, GraphQL, gRPC, JSON-RPC 2.0 — all in one app.
Swagger UI, ReDoc, Scalar. Generated from your code.
## Install
```bash title="Terminal"
$ pip install justapi
$ uv pip install justapi
$ uvx justapi create my_app
```
## Learn
[36-step learning path →](/tutorials/python-types/)
[Rust internals, zero-GIL, native fast path →](/advanced/zero-gil-architecture/)
[Every class and function →](/api-reference/)
[Docker, Kubernetes, cloud providers →](/deployment/docker/)