swadhinbiswas docs: fix landing page terminal styling, add Robyn comparison data · 7/25/2026
477f3ea
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
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
<CardGrid>
<Card title="FastAPI-Compatible" icon="star">
Same decorators, Pydantic models, dependency injection. Switch with one import.
</Card>
<Card title="Rust Under the Hood" icon="rocket">
Networking, TLS, routing, serialization run in Rust. Python does the rest.
</Card>
<Card title="Zero GIL" icon="shield">
GIL released during I/O. Works with free-threaded Python 3.13t/3.14t.
</Card>
<Card title="Production-Ready" icon="lock">
JWT auth, rate limiting, circuit breakers, OpenTelemetry, health checks.
</Card>
<Card title="Multi-Protocol" icon="globe">
REST, GraphQL, gRPC, JSON-RPC 2.0 — all in one app.
</Card>
<Card title="Auto Docs" icon="document">
Swagger UI, ReDoc, Scalar. Generated from your code.
</Card>
</CardGrid>
## Install
```bash title="Terminal"
$ pip install justapi
$ uv pip install justapi
$ uvx justapi create my_app
```
## Learn
<CardGrid>
<Card title="Tutorial" icon="pencil">
[36-step learning path →](/tutorials/python-types/)
</Card>
<Card title="Advanced" icon="rocket">
[Rust internals, zero-GIL, native fast path →](/advanced/zero-gil-architecture/)
</Card>
<Card title="API Reference" icon="document">
[Every class and function →](/api-reference/)
</Card>
<Card title="Deployment" icon="setting">
[Docker, Kubernetes, cloud providers →](/deployment/docker/)
</Card>
</CardGrid>