Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.

l46983284-cpu/nexus-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nexus HTTP

CI Python 3.11+

Blazing fast async HTTP framework for Python. Built on asyncio with uvloop.

Features

  • 3-4x faster than FastAPI on benchmarks
  • Familiar decorator-based routing (like FastAPI/Flask)
  • Middleware support (request + response)
  • Path parameters with regex matching
  • Zero-copy request parsing

Quick Start

from nexus import Nexus

app = Nexus(title="My API")

@app.get("/")
async def index(request):
    return {"message": "Hello World"}

@app.get("/users/{user_id}")
async def get_user(request, user_id: str):
    return {"user_id": user_id}

app.run(port=8000)

Benchmarks

Endpoint Nexus FastAPI Starlette
JSON 142K/s 48K/s 52K/s
Plaintext 198K/s 61K/s 68K/s

About

ARCHIVED learning sketch: small async HTTP experiment for Python.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages