Fapix
Fapix is a high-productivity, Django-inspired web framework built on top of FastAPI, Tortoise-ORM, and Typer.
It brings the modular structure, built-in CLI automation, and seamless migration workflows of Django into the modern, asynchronous Python ecosystem.
Key Features
Django-Style App Architecture: Modular project layout using
apps/ with automatic model discovery and router registration.DRF-Style ViewSets & Routers: Declarative
ModelViewSet classes, dynamic DefaultRouter, fine-grained permissions, and custom @action decorators.Declarative WebSockets: Non-DB custom action views (
WebSocketApiView) and ORM-backed real-time viewsets (WebSocketModelViewSet).Built-in Authentication: Out-of-the-box user models, routes, and CLI user management.
Smart Database Migrations: Powered by
aerich, featuring automated model detection and self-healing migration fallbacks.Built-in Interactive API Tester: Integrated lightweight API and WebSocket tester hosted directly at
/tester.๐ฆ Installation
Install Fapix directly from PyPI:
Or install locally in editable mode for core development:
๐ Quick Start
Access the interactive API & WebSocket tester at
http://localhost:8000/tester.๐ Documentation Index
Explore detailed documentation sections inside the [
docs/] folder:๐ ๏ธ [CLI & Database Migrations]: Project creation, user management commands, and migration workflows.
๐ [HTTP ViewSets & Routing]: DRF-parity
ModelViewSet, DefaultRouter, function views, and permission setup.โก [WebSocket ViewSets]:
WebSocketApiView, WebSocketModelViewSet, frame routing, custom handlers, and method overrides.๐ [Authentication & Permissions]: Built-in user models, CLI user creation, JWT authentication, and permission classes.
๐ License
Distributed under the MIT License.
0 likes ยท 8 views ยท Sep 25, 2026
Creator of **Fapix**, an open-source async framework combining Django-style conventions with FastAPI performance for zero-friction development.