/fastAPI

This repo contains FastAPI example that a Web framework for developing RESTful APIs in Python

Primary LanguagePython

Building RESTful APIs with Python

FastAPI

FastAPI;

  • Very easy to learn the framework and develop the code
  • Easy to convert the code from Flask to FastAPI
  • The framework is production ready and it is widely used in industry.
  • Easy to build large scale web applications with multiple micro services using routers.
  • Faster performance compared to other frameworks
  • Works on the Python version greater than 3.6

Installation

To develop and run a fastapi application, you need to install 2 packages.

  • The first package is the fastapi package

    pip install fastapi

  • The second one is the ASGI server for deploying the application in production

    pip install uvicorn[standard]