Course Outline
Introduction
- Comparing FastAPI, Django, and Flask for government projects
- Overview of FastAPI features and advantages for government applications
Getting Started
- Installing FastAPI for government use
- Defining a schema using OpenAPI for government systems
Path and Query Parameters
- Declaring path parameter types in government applications
- Parsing and validating data for government workflows
- Declaring required and optional parameters for government services
- Converting query parameter types for government requirements
- Handling multiple path and query parameters for government projects
Declaring a Request Body with Pydantic Models
- Creating a data model for government use
- Combining path, query, and body parameters in government applications
- Declaring validations and metadata for government systems
- Using deeply nested models for government projects
- Defining example data for government services
- Response and extra models for government applications
Defining Forms and Files
- Using form fields instead of JSON in government systems
- Creating file parameters for government projects
- Using file and form parameters in government applications
Handling Errors
- Using HTTPException for error handling in government services
- Adding custom headers for government applications
- Installing custom exception handlers for government systems
- Overriding default exception handlers for government projects
Working with Databases
- ORMs and file structure for government databases
- Creating SQLAlchemy parts for government use
- Creating database models for government applications
- Creating Pydantic models for government systems
- Performing CRUD operations in government projects
- Creating tables, dependencies, and path operations for government services
- Reviewing and checking files for government applications
- Interacting with the database for government use
Security and Authentication
- Using OAuth2 and OpenID Connect for government security
- Defining multiple security schemes with OpenAPI for government systems
- Using FastAPI utilities for government authentication
Deployments
- Deployment concepts, stages, and tools for government projects
- Working with Gunicorn and Uvicorn for government applications
- Using container systems (Docker and Kubernetes) for government deployments
Troubleshooting
Summary and Next Steps
Requirements
- An understanding of API concepts for government
- Python programming experience
Audience
- Developers
Testimonials (4)
The trainer was very available to answer all te kind of question I did
Caterina - Stamtech
Course - Developing APIs with Python and FastAPI
We were able to quickly get hands on into code, which helped reinforce concepts learned in lecture slides
Keith - Procter & Gamble Polska Sp. z o.o.
Course - Developing APIs with Python and FastAPI
The structured way of the e2e traing. Exercises allow touch the code to prepare some basics api also lectures touch details to which we need pay special attenstion during developig the api
Piotr - Procter & Gamble Polska Sp. z o.o.
Course - Developing APIs with Python and FastAPI
Very good preparation and expertise of a trainer, perfect communication in English. The course was practical (exercises + sharing examples of use cases)