Adopt
FastAPI is a modern, fast (high-performance) web framework for building APIs with Python based on standard Python type hints. It's designed to be easy to use, while offering high performance and automatic API documentation.
Key Features
- Fast: Very high performance, on par with NodeJS and Go
- Easy: Designed to be easy to use and learn
- Fast to code: Increase development speed
- Standards-based: Based on (and fully compatible with) OpenAPI (Swagger) and JSON Schema
- Async: Built-in support for async operations
- Documentation: Excellent documentation and learning resources
Growing Popularity
FastAPI has seen tremendous growth in recent years:
- Slowly overtaking Flask and Django
- Strong adoption by major tech companies (Microsoft, Uber, Netflix)
FastAPI is currently mainly used in our AI services and deployed with Kubernetes.