- Notifications
You must be signed in to change notification settings - Fork296
Course demos and handouts for our Modern APIs with FastAPI course.
talkpython/modern-apis-with-fastapi
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A course from Talk Python Training. Sign up attalkpython.fm/fastapi.
FastAPI is one of the most exciting new web frameworks out today. It's exciting because it leverages more of the modern Python language features than any other framework: type hints, async and await, dataclasses, and much more. If you are building an API in Python, you have many choices. But, to us, FastAPI is the clear choice going forward. And this course will teach you everything you need to know to get started. We'll build a realistic API working with live data and deploy that API to a cloud server Linux VM. In fact, you'll even see how to create proper HTML web pages to augment your API all within FastAPI.
This course isdesigned to get you creating new APIs running in the cloud with FastAPIs quickly. We start off with just a little foundational concepts, then jump right into build our first API with FastAPI.
Then we explore the foundational modern Python features to make sure you're ready to take full advantage of this framework. We'll look at how async and await works in Python, how to build self-validating and describing classes with Pydantic, Python 3's type hints, and other core language concepts.
We round out the course by building a realistic API working with live data. Then we deploy that API using nginx + gunicorn + uvicorn running on Ubuntu in a cloud VM at Digital Ocean.
In this course, you will:
- See how simple working with basic APIs in FastAPI can be.
- Create API methods thathandle common HTTP verbs (GET, POST, DELETE, etc)
- Return JSON data to API clients
- Use async and await to create truly scalable applications
- Leverage Pydantic to create required and optional data exchange
- Have FastAPIautomatically validate and convert data types (e.g. "2021-01-05" to a
datetime
) - Organize your app using APIRoutes toproperly factor your application across Python files.
- Return themost appropriate error response (e.g. 400 Bad Request) to API clients
- To deploy Python web applications in production-ready configurations on Linux
- Understand why gunicorn and uvicorn should be used together in production
- And lots more
View thefull course outline.
This course is for anyone who wants to build an API with Python as the backend language. If you want your API to rival the speed and features of any major web API framework, this is the course to take.
Thestudent requirements are quite light for this course. You'll need Basic Python language knowledge:
- Functions
- Strings
- Variables
- API clients (making a call with requests)
Note: All software used during this course, including editors, Python language, etc., are 100% free and open source.You won't have to buy anything to take the course.
If this sounds like a great course for you, take it over attalkpython.fm/fastapi.
About
Course demos and handouts for our Modern APIs with FastAPI course.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.