Tutorials  Articles  Notifications  Login  Signup

Introduction Understanding FastAPI Install FastAPI Build your first API using FastAPI


FastAPI - Understanding FastAPI





What is FastAPI ?

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints. FastAPI is popular primarily because of its high performance and very quick setup.

Features of FastAPI

Here is a detailed description of FastAPI's features:

  • Fast -
     FastAPI usage Starlette and Pydantic to achieve very high performance, which matches with performance of NodeJS and GO
  • Ease of coding
    FastAPI usage python type hints to provide completion and editor support, this improves development speed by 200% to 300%.
  • Automated documentation
    FastAPI automatically generate documentation which saves huge amount of developer's time.
  • Robust
    FastAPI produces API which are production ready. It usage uvicorn to handle http requests.
  • Follows standards
    FastAPI generate API are fully compatible with OpenAPI (previously known as Swagger) and JSON Schema.

Other details

FastAPI was created by tiangolo since then it has caught up and many developers from all across world has contributed to it. 

Official website: https://fastapi.tiangolo.com/

Github: https://github.com/tiangolo/fastapi

License
FastAPI is open source and is licensed under the terms of the MIT license.



Under which license FastAPI is released ?

A. BSD License

B. GPU License

C. MIT License

D. None of the options

See answer


Which web server framework does FastAPI usage ?

A. uvicorn

B. Django

C. ngnix

D. Apache

See answer


How does FastAPI provides editor support ?

A. By tie-up with editor producers

B. By using python type hints

C. By using XML configuration file

D. None of the options

See answer




HackerFriend Logo

Join the community of 1 Lakh+ Developers

Create a free account and get access to tutorials, jobs, hackathons, developer events and neatly written articles.


Create a free account