Skip to content
pythoncoding.dev

Topics

Check out the topics that interest you.

Fundamentals

Variables, types, strings, lists, dicts, loops, functions and modules: Python from the first print() call, written for people who are new to programming.

Standard Library

pathlib, collections, itertools, functools, datetime, json, re, logging, subprocess and the rest of the batteries that ship with every Python.

Web Development

Django, Flask and FastAPI: routing, templates, forms, ORMs, authentication and background jobs, from a first view to a production web app.

Data Science

NumPy, pandas, Polars, Jupyter, Matplotlib and seaborn: loading, cleaning, reshaping and plotting data, and turning a notebook into a report.

Machine Learning

scikit-learn, PyTorch and Hugging Face: features, training, evaluation and serving, from a first regression to a fine-tuned model.

Automation

Scripts, command-line tools, file and spreadsheet chores, web scraping, scheduling and gluing APIs together: Python as the tool that does the boring work.

Testing

pytest, fixtures, parametrising, mocking, coverage, Hypothesis and tox or nox: tests that catch regressions without slowing you down.

Concurrency

asyncio, tasks and event loops, threads, multiprocessing, concurrent.futures and the free-threaded build: doing many things at once in Python.

Packaging

pip, venv, uv, Poetry, pyproject.toml, wheels and publishing to PyPI: managing environments and shipping code other people can install.

Data Structures

Lists, dicts, sets and tuples in depth, then stacks, queues, heaps, linked lists, trees and graphs, and choosing the right one in Python.

Algorithms

Sorting, searching, recursion, trees, graphs, dynamic programming and Big-O, written in clear Python for learning and for coding interviews.

Performance

Profiling with cProfile and py-spy, memory, data structures that scale, vectorising, Cython, Rust extensions and the CPython internals that explain the speed.

Databases

SQLite, PostgreSQL, SQLAlchemy, Django ORM, Alembic migrations, Redis and MongoDB from Python.

Desktop Apps

Tkinter, PySide and PyQt, Textual terminal apps, and packaging a Python app with PyInstaller or Briefcase so people can install it.

Deployment

Docker images, Gunicorn and Uvicorn, systemd, serverless, CI pipelines and configuration for Python services in production.

Security

Secrets, input validation, dependency auditing, pickle and eval pitfalls, cryptography and secure defaults in Python web apps.

Architecture

Project layout, design patterns, clean code, dependency injection and structuring a Python codebase that grows without rotting.

AI Engineering

Calling LLM APIs, embeddings, retrieval, agents and evaluation from Python, with the libraries working engineers use.