FastAPI is a modern, fast (high-performance) web framework for building APIs with Python 3.6+ based on standard Python type hints. It is built on top of Starlette for the web parts and Pydantic for the data parts. It is designed to be easy to use and to provide high performance and scalability for building APIs. Some of the features of FastAPI include:

  • Fast: Very high performance thanks to Pydantic and async support.
  • Fast to code: Type hints and automatic generation of OpenAPI and JSON Schema documentation.
  • Fewer bugs: Reduce human errors with integrated data validation and automatic generation of API docs.
  • 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 and JSON Schema.

FastAPI is a great choice for building high-performance APIs with Python

python fastapi

原文地址: http://www.cveoy.top/t/topic/dTV9 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录