中文 | English
QingKongFramework (package name: fastapp) is a full-stack async web framework built on top of FastAPI, designed to provide a Django-like development experience with full async support.
- No decorator overhead: No need for
sync_to_async,aget, orafilter- everything is natively async - Familiar patterns: ModelViewSet, Serializers, FilterSets following Django REST Framework conventions
- Multi-database support: PostgreSQL, MySQL, SQLite via Tortoise ORM
- Auto-migration system: Automatic schema diff detection and migration generation
- Fixture loading: JSON-based data fixtures with FK/M2M relationship handling
- JWT-based auth: Built-in token authentication with configurable lifetimes
- Permission system: Model-based permission backend
- Mixins: LoginRequired, SuperUserRequired, Creator tracking
- Microservice mode: Gateway + service architecture
- Caching: Redis-based caching with fastapi-cache2
- Rate limiting: Built-in rate limiter support
- CLI commands:
startapp,migrate,auto_migrate,loaddata,runserver - Type safety: Full Python 3.12+ type hints with mypy support
- Nuitka compilation: Optional binary compilation support
- FastAPI 0.115.4 - Modern async web framework
- Tortoise ORM 0.21.7 - Async ORM
- Pydantic 2.11.7 - Data validation
- Uvicorn 0.32.0 - ASGI server
- Python == 3.12
python -m build
python setup-pure.py bdist_wheel
Vincent ([email protected])
MIT License