FastAPI framework, high performance, easy to learn, fast to code, ready for production.
api fastapi library code

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.

The key features are:

  • Fast: Very high performance, on par with NodeJS and Go (thanks to Starlette and Pydantic). One of the fastest Python frameworks available.

  • Fast to code: Increase the speed to develop features by about 200% to 300%. *

  • Fewer bugs: Reduce about 40% of human (developer) induced errors. *

  • Intuitive: Great editor support. Completion everywhere. Less time debugging.

  • Easy: Designed to be easy to use and learn. Less time reading docs.

  • Short: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.

  • Robust: Get production-ready code. With automatic interactive documentation.

  • Standards-based: Based on (and fully compatible with) the open standards for APIs: OpenAPI (previously known as Swagger) and JSON Schema.

Don't forget to tag @tiangolo in your comment, otherwise they may not be notified.

Authors community post
Creator of FastAPI and Typer. Dev at @explosion. APIs, Deep Learning/ML, full-stack distributed systems, SQL/NoSQL, Python, Docker, JS, TypeScript, etc
Share this project
Similar projects
Why We Switched from Flask to FastAPI for Production ML
The most popular tool isn’t always the best.
A comprehensive healthcare conversational agent powered by Visual QA and segmentation models.
Project Insight is designed to create NLP as a service with code base for both front end GUI (streamlit) and backend server (FastAPI) the usage of ...
Creating an End-to-End Machine Learning Application
A complete, end-to-end ML application, implemented in both TensorFlow 2.0 and PyTorch.
Top collections