• Interpreted languages paradigm
• Python 3 ecosystem & popular frameworks by domain
• VS Code & PyCharm setup
• Jupyter Notebook & Google Colab
• Running your first Python script
• Arithmetic, comparison, logical, assignment operators
• Identity operators: is, is not
• Operator precedence & order of evaluation
• The ternary operator
• Reading input from keyboard: input()
• Writing to console: print(), f-strings
Control Flow & Program Structure
• if / elif / else
• while loops
• for loops & range()
• break, continue, pass
• match / case (structural pattern matching)
• API keys in headers & query params
• Bearer tokens & OAuth2 basics
• HTTPBearer in FastAPI
• Storing secrets safely: .env files
• python-dotenv & pydantic-settings
• Never committing secrets to git
Web Scraping with BeautifulSoup
• Inspecting HTML with browser dev tools
• requests + BeautifulSoup workflow
• Navigating the DOM: find, find_all, select (CSS selectors)
• Extracting text, attributes & links
• Handling pagination
• Respecting robots.txt & rate limiting
Async communication with asyncio
• Concurrency vs parallelism vs async
• The event loop
• async def & await
• asyncio.gather & asyncio.create_task
• Async context managers & iterators
• httpx for async HTTP requests
• async endpoints in FastAPI
Intro to Agentic AI
• Tool calling & function calling pattern
• Building a simple agent loop with an LLM API
• Async in agentic workflows
• Practical exercise: a minimal research agent
• MLOps and why it matters
• Serving a model as an API (FastAPI + joblib)
• Monitoring predictions in production
• Hands-on: train → log → serve pipeline
Building Productive Systems in Python
Project Layout and Code Organization, Packaging & Distribution
• Standard Python project structure
• src layout vs flat layout
• pyproject.toml deep dive: metadata, dependencies, scripts
• Building a distributable package
• Publishing to PyPI (overview)
• Monorepo vs multi-repo considerations
• Separation of concerns in web apps
• HTTP layer: routers & request handling
• Service layer: business logic
• Repository layer: data access abstraction
• Dependency injection in FastAPI
• Practical refactoring exercise
Data persistence, ORM
• Relational database basics: tables, keys, relationships
• SQLite for development
• SQLAlchemy Core vs ORM
• Defining models with DeclarativeBase
• CRUD with SQLAlchemy ORM
• Alembic for migrations
• Connecting ORM to FastAPI repository layer