🚧 Prototype Notice

This project (sufast) is currently a dummy prototype.
Only static routes are working at the moment.
Dynamic routing and full features are under development.
Thank you for understanding! πŸ™

Sufast/Documentation
Quick Start

Quick Start Guide

Get your first Sufast application running in under 5 minutes.

Step-by-Step Setup
Follow these simple steps to create your first Sufast app
1

Install Sufast

pip install sufast

This installs Sufast with pre-compiled Rust binaries for optimal performance.

2

Create Your App

app.pypython
# app.py
from sufast import App

app = App()

@app.get("/")
def hello():
    return {"message": "Hello from Sufast! πŸš€"}

@app.get("/health")
def health():
    return {"status": "healthy"}

if __name__ == "__main__":
    app.run()
3

Run Your App

python app.py

Your app will be available at http://localhost:8080

4

Test Your API

# Test the endpoints
curl http://localhost:8080/
curl http://localhost:8080/health
βœ… What You'll Get
High-performance API server
FastAPI-style routing
Automatic JSON responses
Built-in CORS support
52,000+ RPS performance