- Zrozumienie koncepcji API
- Python doświadczenie w programowaniu
Publiczność
- Programiści
FastAPI to open source'owy, wysokowydajny framework sieciowy do tworzenia interfejsów API Python. Jest on używany przez wiele dużych firm, takich jak Uber, Netflix i Microsoft.
Szkolenie na żywo prowadzone przez instruktora (na miejscu lub zdalnie) jest przeznaczone dla programistów, którzy chcą używać FastAPI z Python do łatwiejszego i szybszego tworzenia, testowania i wdrażania interfejsów API RESTful.
Po zakończeniu tego szkolenia uczestnicy będą w stanie
- Skonfigurować niezbędne środowisko programistyczne do tworzenia interfejsów API z wykorzystaniem Python i FastAPI.
- Tworzyć interfejsy API szybciej i łatwiej, korzystając z biblioteki FastAPI.
- Nauczyć się tworzyć modele danych i schematy w oparciu o Pydantic i OpenAPI.
- Połączyć interfejsy API z bazą danych za pomocą SQLAlchemy.
- Zaimplementować zabezpieczenia i uwierzytelnianie w interfejsach API, korzystając z narzędzi FastAPI.
- Budować obrazy kontenerów i wdrażać interfejsy API internetowe na serwerze w chmurze.
Format kursu
- Interaktywny wykład i dyskusja.
- Dużo ćwiczeń i praktyki.
- Praktyczna implementacja w środowisku live-lab.
Opcje dostosowywania kursu
- W celu zamówienia spersonalizowanego szkolenia z tego kursu, prosimy o kontakt w celu ustalenia szczegółów.
Wprowadzenie
- FastAPI vs Django vs Flask
- Przegląd funkcji i zalet FastAPI
Pierwsze kroki
- Instalacja FastAPI
- Definiowanie schematu za pomocą OpenAPI
Ścieżka i parametry zapytania
- Deklarowanie typów parametrów ścieżki
- Parsowanie i walidacja danych
- Deklarowanie wymaganych i opcjonalnych parametrów
- Konwertowanie typów parametrów zapytania
- Wiele parametrów ścieżki i zapytania
Deklarowanie treści żądania za pomocą modeli Pydantic
- Tworzenie modelu danych
- Łączenie parametrów ścieżki, zapytania i treści
- Deklarowanie walidacji i metadanych
- Używanie głęboko zagnieżdżonych modeli
- Definiowanie przykładowych danych
- Modele odpowiedzi i dodatkowe
Definiowanie formularzy i plików
- Używanie pól formularza zamiast JSON
- Tworzenie parametrów plików
- Używanie parametrów plików i formularzy
Obsługa błędów
- Używanie HTTPException
- Dodawanie niestandardowych nagłówków
- Instalacja niestandardowych obsługi błędów
- Nadpisywanie domyślnych obsługi błędów
Praca z Databases
- ORM i struktura plików
- Tworzenie części SQLAlchemy
- Tworzenie modeli baz danych
- Tworzenie modeli Pydantic
- Wykonnywanie operacji CRUD
- Tworzenie tabel, zależności i operacji ścieżki
- Przeglądanie i sprawdzanie plików
- Interakcja z bazą danych
Bezpieczeństwo i uwierzytelnianie
- Używanie Oauth2 i OpenID connect
- Definiowanie wielu schematów bezpieczeństwa z OpenAPI
- Używanie narzędzi FastAPI
Wdrożenia
- Koncepcje wdrożeń, etapy i narzędzia
- Praca z Gunicorn i Uvicorn
- Używanie systemów kontenerów (Docker i Kubernetes)
Rozwiązywanie problemów
Podsumowanie i kolejne kroki
United Arab Emirates - Developing APIs with Python and FastAPI
Qatar - Developing APIs with Python and FastAPI
Egypt - Developing APIs with Python and FastAPI
Saudi Arabia - Developing APIs with Python and FastAPI
South Africa - Developing APIs with Python and FastAPI
Brasil - Developing APIs with Python and FastAPI
Canada - Developing APIs with Python and FastAPI
中国 - Developing APIs with Python and FastAPI
香港 - Developing APIs with Python and FastAPI
澳門 - Developing APIs with Python and FastAPI
台灣 - Developing APIs with Python and FastAPI
USA - Developing APIs with Python and FastAPI
Österreich - Developing APIs with Python and FastAPI
Schweiz - Developing APIs with Python and FastAPI
Deutschland - Developing APIs with Python and FastAPI
Czech Republic - Developing APIs with Python and FastAPI
Denmark - Developing APIs with Python and FastAPI
Estonia - Developing APIs with Python and FastAPI
Finland - Developing APIs with Python and FastAPI
Greece - Developing APIs with Python and FastAPI
Magyarország - Developing APIs with Python and FastAPI
Ireland - Developing APIs with Python and FastAPI
Luxembourg - Developing APIs with Python and FastAPI
Latvia - Developing APIs with Python and FastAPI
España - Developing APIs with Python and FastAPI
Italia - Developing APIs with Python and FastAPI
Lithuania - Developing APIs with Python and FastAPI
Nederland - Developing APIs with Python and FastAPI
Norway - Developing APIs with Python and FastAPI
Portugal - Developing APIs with Python and FastAPI
România - Developing APIs with Python and FastAPI
Sverige - Developing APIs with Python and FastAPI
Türkiye - Developing APIs with Python and FastAPI
Malta - Developing APIs with Python and FastAPI
Belgique - Developing APIs with Python and FastAPI
France - Developing APIs with Python and FastAPI
日本 - Developing APIs with Python and FastAPI
Australia - Developing APIs with Python and FastAPI
Malaysia - Developing APIs with Python and FastAPI
New Zealand - Developing APIs with Python and FastAPI
Philippines - Developing APIs with Python and FastAPI
Singapore - Developing APIs with Python and FastAPI
Thailand - Developing APIs with Python and FastAPI
Vietnam - Developing APIs with Python and FastAPI
India - Developing APIs with Python and FastAPI
Argentina - Developing APIs with Python and FastAPI
Chile - Developing APIs with Python and FastAPI
Costa Rica - Developing APIs with Python and FastAPI
Ecuador - Developing APIs with Python and FastAPI
Guatemala - Developing APIs with Python and FastAPI
Colombia - Developing APIs with Python and FastAPI
México - Developing APIs with Python and FastAPI
Panama - Developing APIs with Python and FastAPI
Peru - Developing APIs with Python and FastAPI
Uruguay - Developing APIs with Python and FastAPI
Venezuela - Developing APIs with Python and FastAPI
Polska - Developing APIs with Python and FastAPI
United Kingdom - Developing APIs with Python and FastAPI
South Korea - Developing APIs with Python and FastAPI
Pakistan - Developing APIs with Python and FastAPI
Sri Lanka - Developing APIs with Python and FastAPI
Bulgaria - Developing APIs with Python and FastAPI
Bolivia - Developing APIs with Python and FastAPI
Indonesia - Developing APIs with Python and FastAPI
Kazakhstan - Developing APIs with Python and FastAPI
Moldova - Developing APIs with Python and FastAPI
Morocco - Developing APIs with Python and FastAPI
Tunisia - Developing APIs with Python and FastAPI
Kuwait - Developing APIs with Python and FastAPI
Oman - Developing APIs with Python and FastAPI
Slovakia - Developing APIs with Python and FastAPI
Kenya - Developing APIs with Python and FastAPI
Nigeria - Developing APIs with Python and FastAPI
Botswana - Developing APIs with Python and FastAPI
Slovenia - Developing APIs with Python and FastAPI
Croatia - Developing APIs with Python and FastAPI
Serbia - Developing APIs with Python and FastAPI
Bhutan - Developing APIs with Python and FastAPI