Web API with Python and FastAPI

20% Discount for Multiple Attendees from the Same Company

Duration: 2 days | Price: € 499,00 VAT excluded

Web API con Python e FastAPI
Prerequisites

Good knowledge of Python and basic web development.

Description

Regardless of the platform, it is necessary to build APIs to serve data between various client applications and endpoints. To develop modern and flexible systems, it is essential to provide efficient and RESTful-compliant APIs. This training course provides the fundamental knowledge required to enable highly interconnected interactions between applications using RESTful APIs, leveraging Python and the open-source FastAPI framework. FastAPI is a modern, fast (high-performance) web framework for creating APIs with Python 3.6+ based on Python’s type hints. In addition to its ease of use, FastAPI is valued for its productivity and speed. A solution developed with FastAPI, in terms of performance, is on par with NodeJS and Go but is much easier to maintain and develop. Moreover, as is always the case in the Python world, “it allows you to choose.”

📣 Upon completing the course, participants will have access to all the learning materials and code examples presented during the sessions. Among the examples will be a minimal, yet complete, API service ready to be modified and used in production.

Contents
  • Installing FastAPI

  • Python type hints: what they are, how and when to use them

  • Getting started with FastAPI

  • Understanding the asynchronous paradigm and properly using async and await

  • Parameters and user input validation

  • Automatic generation of OpenAPI documentation

  • Validating complex data: pydantic models

  • Customizing responses for the client

  • FastAPI events

  • Asynchronous operations with background tasks

  • Handling file uploads from the client

  • Controlling the request/response cycle using middleware

  • Serving static content

  • Managing CORS

  • Implementing WebSockets

  • JWT and OAuth2

  • Security and HTTPS

  • Automatic API testing

  • Deployment with uvicorn

Scroll to Top