| What it is | FastAPI framework, high performance, easy to learn, fast to code, ready for production | A lightweight WSGI web application framework for Python | A powerful and flexible toolkit for building Web APIs |
| Features | - request validation from type hints with Pydantic
- automatic OpenAPI schema and JSON Schema
- interactive API docs with Swagger UI and ReDoc
- async and sync endpoints
- dependency injection
- WebSockets and background tasks
- security utilities for OAuth2 and API keys
- FastAPI CLI for running apps
- All 9 features
| - routing with decorators
- Jinja templating
- built-in development server and debugger
- blueprints for modular apps
- sessions and request/response objects
- flask CLI built on Click
- community extensions
- async view support
| - serializers for ORM and non-ORM data, with validation
- generic views, viewsets and routers
- browsable HTML API for every endpoint
- authentication policies, with packages for OAuth1a and OAuth2
- permissions, throttling, caching, filtering and pagination
- API versioning and content negotiation
- OpenAPI schema generation (with PyYAML and uritemplate)
- test client and request factory for API tests
- All 9 features
|