https://store-images.s-microsoft.com/image/apps.6717.5041a74a-9d0a-4d53-9846-1a032f1c292f.3a2ec245-6de0-4a12-9956-6088c220c1f0.b57b212a-759a-4256-9e43-64cbff738c10

FastAPI

pcloudhosting

FastAPI

pcloudhosting

Version 0.115.12 + Free Support on Ubuntu 24.04

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.7+ based on standard Python type hints. It is designed for speed, ease of use, and automatic data validation using Python’s type system. FastAPI is perfect for building RESTful APIs and microservices, with excellent performance comparable to Node.js and Go. It also provides automatic generation of OpenAPI documentation and supports asynchronous programming out of the box.

Features of FastAPI:

  • High performance, on par with Node.js and Go, due to asynchronous programming (async/await) support.
  • Automatic data validation and serialization using Python type hints and Pydantic.
  • Interactive API documentation automatically generated with Swagger UI and ReDoc.
  • Fully asynchronous programming support with async/await.
  • OAuth2, JWT authentication, and other security mechanisms built-in.
  • Fast to code: minimizes the amount of code you need to write while ensuring you get the desired functionality.
  • Supports dependency injection, making code modular and easily testable.
  • Suitable for both simple and complex applications, including microservices and RESTful APIs.
  • Open-source and based on popular libraries like Starlette (ASGI) and Pydantic (data validation).
To check FastAPI version:
$ sudo su
$ source venv/bin/activate
$ python -c "import fastapi; print(fastapi.__version__)"

Disclaimer: FastAPI is an open-source software distributed under the terms of the MIT license. It is not affiliated with, endorsed by, or sponsored by any other company. FastAPI is provided "as is," without any warranty, express or implied. Users utilize this software at their own risk. The developers and contributors to FastAPI hold no responsibility for any damages, losses, or consequences resulting from the use of this software. Users are advised to carefully review and comply with licensing terms and any applicable regulations while using FastAPI.