Course Outline
Introduction
- Comparing FastAPI, Django, and Flask
- Key features and benefits of FastAPI
Getting Started
- Installation of FastAPI
- Schema definition using OpenAPI
Path and Query Parameters
- Specifying path parameter types
- Data parsing and validation techniques
- Defining mandatory and optional parameters
- Type conversion for query parameters
- Managing multiple path and query parameters
Request Bodies with Pydantic Models
- Building data models
- Integrating path, query, and body parameters
- Setting up validations and metadata
- Utilizing deeply nested models
- Specifying example data
- Handling response and additional models
Forms and Files
- Utilizing form fields in place of JSON
- Defining file parameters
- Working with file and form inputs
Error Management
- Implementing HTTPException
- Adding custom headers
- Setting up custom exception handlers
- Modifying default exception handlers
Database Integration
- ORM concepts and project structure
- Constructing SQLAlchemy components
- Designing database models
- Creating Pydantic models
- Executing CRUD operations
- Establishing tables, dependencies, and path operations
- Code review and file verification
- Database interaction patterns
Security and Authentication
- Applying Oauth2 and OpenID Connect
- Configuring multiple security schemes via OpenAPI
- Leveraging FastAPI security utilities
Deployment
- Deployment strategies, stages, and tools
- Managing Gunicorn and Uvicorn
- Utilizing container systems like Docker and Kubernetes
Troubleshooting
Wrap-up and Future Steps
Requirements
- Familiarity with core API concepts
- Experience in Python programming
Audience
- Developers
Custom Corporate Training
Training solutions designed exclusively for businesses.
- Customized Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
- Flexible Schedule: Dates and times adapted to your team's agenda.
- Format: Online (live), In-company (at your offices), or Hybrid.
Price per private group, online live training, starting from 2900 € + VAT*
Contact us for an exact quote and to hear our latest promotions
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)