Skip to main content

OxAPY

A fast, safe HTTP server for Python, built in Rust

Fast, built in Rust

The core server runs on hyper and tokio with URL routing from matchit and JSON handling via orjson. Your Python handlers stay simple while the hot path stays in compiled Rust.

Expressive routing

Declare routes with @get, @post and friends, use path parameters like {name}, typed parameters and catch-all routes, and group them under routers with a base path.

Batteries included

Middleware, sessions, JWT authentication, CORS, templates, static file serving, file uploads and streaming, serializers, application state, and hot reload are all built in.