Python API Development - Comprehensive Course for Beginners
Mô tả
Learn Python API development in one of the most comprehensive courses ever on the topic. You will build a full-fledged API in Python using FastAPI. You will learn the fundamentals of API design including routes, serialization/deserialization, schema validation, and models. You will also learn about SQL, testing with pytest, and how to build out a CI/CD pipeline using GitHub actions. 💻 Code: https://github.com/Sanjeev-Thiyagaraj... ✏️ Course from Sanjeev Thiyagarajan. Check out his channel: / @sanjeevthiyagarajan ⭐️ Course Contents 00:00 Intro
Danh sách bài giảng (1 bài)
Bài 1: Python API Development - Comprehensive Course for Beginners
Video bài giảngBài kiểm tra Quizzes (1)
Chưa mở khóaBài kiểm tra kiến thức: Python API Development - Comprehensive Course for Beginners
Bài kiểm tra tổng hợp 5 câu hỏi trắc nghiệm giúp củng cố kiến thức trọng tâm trong khóa học Python API Development - Comprehensive Course for Beginners.
Bài kiểm tra đang bị khóa
Vui lòng đăng ký khóa học để mở khóa toàn bộ 1 bài kiểm tra trắc nghiệm và xem kết quả làm bài.
Đánh giá từ học viên
Nhận xét và trải nghiệm thực tế từ các học viên đã đăng ký tham gia khóa học này.
Dựa trên 10 lượt đánh giá từ học viên
Đăng nhập để đánh giá khóa học
Bạn cần đăng nhập và tham gia khóa học để có thể gửi đánh giá và nhận xét.
Tất cả đánh giá 10
If you are watching this after Jan 2023, and you install SQLAlchemy using the pip install command, it will install version 2.0.x or above by default. The code at the 10:25:00 hr marker where you get count is incompatible with the new version of SQLAlchemy.
I spent a few hours figuring out why my exact same code isn't working.
Use the following command to install (or re-install) to a compatible version of SQLAlchemy
pip install --force-reinstall -v "SQLAlchemy==1.4.46"
Also, your PostOut pydantic schema should derive from BaseModel, not Post or PostBase.
### Section 1: Introduction
1. Course Project
2. Course Intro
3. Course Project Overview 06:33
### Section 2: Setup & installation
4. Mac Python Installation 11:22
5. Mac VS Code install and setup 13:15
6. Windows Python Installation 16:37
7. Windows VS Code install and setup 18:30
8. Python virtual environment Basics 22:11
9. Virtual environment on windows 24:35
10. Virtual environment on Mac 28:56
### Section 3: FastAPI
11. Install dependencies w/ pip 34:17
12. Starting Fast API 36:21
13. Path operations 39:23
14. Path Operation Order(yes it matters) 51:08
15. Intro to Postman 53:22
16. HTTP Post Requests 57:34
17. Schema Validation with Pydantic 1:07:29
18. CRUD Operations 1:22:45
19. storing posts in Array 1:29:44
20. creating posts 1:34:06
21. Postman Collections & saving requests
for those of you who are still getting an error at 10:22:17 like:
TypeError('cannot convert dictionary update sequence element #0 to a sequence')
try to add this line of code before returning results:
results = list ( map (lambda x : x._mapping, results) )
When querying the db with two arguments in the .query method, sqlalchemy returns a list of sqlalchemy.engine.row.Row objects. As far as I have acknowledged from the documentation:
"Changed in version 1.4:
Renamed RowProxy to .Row. .Row is no longer a "proxy" object in that it contains the final form of data within it, and now acts mostly like a named tuple. Mapping-like functionality is moved to the .Row._mapping attribute, but will remain available in SQLAlchemy 1.x ... "
So, in my understanding, we are not allowed to retrieve the jsoni
People pay more than $2000 for Python lectures and they don’t come close to quality content like this. YOU ARE ABSOLUTE LEGENDS!
Anyone learning in 2026 skip the heroku part since there are many cloud platforms like render or railway which is easy to handle .and ubuntu is also not much necessary as platform like render does automatically create linux venv and handles vps for u but it is advised to learn since it is a basic os behind most of the cloud platform