-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Betrand edited this page Feb 26, 2026
·
1 revision
What Is Mallo
Mallo is a minimal Python web framework that focuses on clarity and DX. It provides routing, templates, static files, middleware, error pages, and hot reload in a small, readable core.
Why Use Mallo
- Small, readable codebase
- Quick iteration with live reload
- Simple routing and typed parameters
- Built-in templates and static serving
- Friendly error pages
Installation
pip install malloRecommended project scaffold:
mallo create myapp
cd myapp
python app.pyQuick Start
from mallo import Mallo
app = Mallo(__name__)
@app.get("/")
def home(request):
return "<h1>Hello from Mallo</h1>"
if __name__ == "__main__":
app.run(debug=True, use_reloader=True)Open http://localhost:8000.