FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints. FastAPI is released under the terms of the MIT license.
Some notable features of FastAPI are:
- Based on open standards like OpenAPI and JSON Schema.
- Automatic docs including Swagger UI and ReDoc
- Just Modern Python (based on standard Python 3.6 type declarations)
- Editor support (especially auto-completion)
- Written on top of Starlette, inherits all its features and provides native ASYNC support
- Uses Pydantic to validate request and response which is Pythonic and developer does not need to learn another micro-framework to write validation schemas for requests and responses
- Native Dependency Injection System
- Useful Plugins
And other features described in detail here.
Documentation: https://fastapi.tiangolo.com
Source Code: https://github.com/tiangolo/fastapi