Nexios – A Modern Python Web Framework Built for Speed
The Story Behind Nexios
Nexios was born out of frustration — frustration with bulky frameworks, unnecessary boilerplate, and the over-complication of simple tasks. I wanted a framework that had:
- the simplicity of Express.js
- the power of FastAPI
- the flexibility of raw ASGI
- and none of the magic Django-style meta-classes.
So I built Nexios — a lightweight, async-first Python web framework designed to help developers ship fast, clean, and production-ready APIs with minimal setup.
⚙️ How Nexios Works
Nexios is built on ASGI and designed with speed and clarity in mind. You define routes using Python functions — no decorators, no hidden base classes, no magic. Just clean, readable code.
from nexios import NexiosApp
app = NexiosApp()
@app.route("/hello")
async def hello(request, response):
return {"message": "Hello, Nexios!"}
Under the hood, Nexios handles routing, request parsing, async middleware, response formatting, and more — all in a modular and blazing-fast ASGI engine.
Key Features
- ✅ Async-first: Built on ASGI for native async performance.
- ✅ Minimal boilerplate: Get up and running in 5 lines of code.
- ✅ Custom Auth Backends: JWT, API keys, token rotation, blacklisting — all pluggable.
- ✅ ORM-Agnostic: Works with Tortoise, Prisma, SQLAlchemy, or no ORM at all.
- ✅ Zero Magic: No hidden behavior or metaclass gymnastics.
- ✅ Fast Startup: Instant dev server, instant reload.
- ✅ Auto Docs: Generate OpenAPI docs without extra setup.
- ✅ Extensible Core: Built to be hacked and extended.
How to Get Involved
Nexios is open-source and community-friendly. You can:
- ⭐ Star the repo on GitHub
- Report bugs or request features
- Contribute modules or plugins
- Join discussions in the community
GitHub: https://github.com/nexios-labs/Nexios
Docs: https://nexios-docs.netlify.app
Ready to Try It?
Install it now:
pip install nexios
Create a new project:
nexios new <project_name>
Then start building APIs your way.
Built by developers, for developers. Nexios is what Python web development should feel like.