Video course · 15 chapters · 379 min · certificate
Python Essentials for AI Agents: LLMs, APIs & LangChain
The Python you need to build AI agents: variables and types, conditionals and loops, functions and modules, best practices, NumPy, Matplotlib, Pandas, SQL databases, APIs with Flask and FastAPI, ChatGPT/Gemini/Hugging Face APIs and the agent tools landscape.
What you'll learn
- Write Python with variables, conditionals, loops and functions
- Follow Python best practices
- Analyse data with NumPy, Pandas and Matplotlib
- Work with SQL databases from Python
- Call and build APIs with Flask and FastAPI
- Use LLM APIs and open-source models
Chapters
15 chapters · 378:43-
35:45
01Basics Members
Python overview, variables and data types
Why Python for agents, variables and core data types.
-
35:06
02Control flow Members
Conditionals and loops
if/elif/else decisions and for/while loops.
-
23:45
03Functions Members
Functions, modules and packages
Defining functions, built-ins, lambdas, modules and packages.
-
19:07
04Quality Members
Python best practices
Writing clean, maintainable Python.
-
24:52
05NumPy Members
NumPy basics
NumPy arrays as the cornerstone of Python data work.
-
13:46
06NumPy Members
NumPy universal functions
Arithmetic ufuncs and rounding.
-
33:29
07Visualization Members
Matplotlib plots
Common plot types and customization.
-
36:36
08Pandas Members
Pandas: understanding a dataset
DataFrames and Series for data manipulation.
-
15:44
09Pandas Members
Missing values and modifying data
Handling missing values, datetime columns and resetting the index.
-
20:25
10SQL Members
Databases and SQL
Database and SQL fundamentals, connecting Python and working with files.
-
20:58
11SQL Members
Hands-on SQLite
Creating SQLite databases and connecting to hosted MySQL and Postgres.
-
27:21
12APIs Members
Working with and building APIs
APIs for agents, accessing them in Python, best practices and building with Flask and FastAPI.
-
23:15
13Project Members
Module project
A hands-on project creating and accessing Flask endpoints.
-
23:05
14LLMs Members
ChatGPT, Gemini and Hugging Face APIs
Real-world tasks with ChatGPT and Gemini APIs, and Hugging Face serverless APIs.
-
25:29
15Agents Members
Open-source LLMs and agent tools
Downloading open-source models from Hugging Face and the AI agent tools landscape.
Jobs this course suits
Our AI checked this course against 500 jobs; these get the most out of it. Each job links to its learning path.