An introductory Python book, translated into dozens of languages and written for people entirely new to programming. in Programming Languages →
Python
Entries written in Python, teaching it, or belonging to its ecosystem.
134 links
A classic guide that groups and explains Python's special (dunder) methods such as __init__, __getattr__ and __enter__ with examples. in Programming Languages →
A list of libraries and resources for asynchronous I/O in Python 3 (asyncio). in Programming Languages →
A list of Python libraries for scientific research in audio/music. in Programming Languages →
A list of tools and resources for optional static typing in Python. in Programming Languages →
Ned Batchelder’s classic talk on Python’s model of names and values. in Programming Languages →
A free curriculum and certificate with browser-based exercises. in Programming Languages →
Google’s short Python course made for its own staff: notes, lectures and exercises. in Programming Languages →
A community guide to Python style, project layout and tooling. in Programming Languages →
Short episodes each deepening one Python concept. in Programming Languages →
An interactive introduction teaching Python through in-browser exercises, with nothing to install. in Programming Languages →
Teaches Python, SQL and R through runnable examples, opening each concept with one small piece of code. in Programming Languages →
A long series building an interpreter step by step in Python, constructing every piece by hand from lexing to the abstract syntax tree. in Programming Languages →
Python’s official style guide, the rules used for the standard library itself. in Programming Languages →
A weekly email newsletter of Python news, articles and projects. in Programming Languages →
Bundles a Python application with its interpreter into a single executable for Windows, macOS and Linux. in Programming Languages →
A searchable index of Python conference talks (PyCon and others). in Programming Languages →
A short Turkish introduction to Python virtual environments, sufficient on first contact. in Programming Languages →
A weekly podcast on Python, data science and AI, interviewing the people behind the tools. in Programming Languages →
A short book of common Python mistakes, each with the wrong and the right form. in Programming Languages →
A package and project manager written in Rust, tens of times faster than pip. in Programming Languages →
A collection of surprising and counter-intuitive Python behaviours, each as a short snippet with an explanation. in Programming Languages →
The most comprehensive Turkish Python resource, written natively rather than translated, so the terminology does not feel forced. in Programming Languages →
A resource list for Dash, building data dashboards with Python. in Backend, API & System Design →
A list of plugins, examples and tutorials for FastAPI, Python’s fast web framework. in Backend, API & System Design →
A list of add-ons and resources for Plone, the open-source Python CMS. in Backend, API & System Design →
Shows every Django class-based view with its methods, inheritance chain and source. in Backend, API & System Design →
ORM, migrations, admin panel and authentication out of the box. in Backend, API & System Design →
A step-by-step tutorial that builds a blog with Django, written for workshops but followable alone. in Backend, API & System Design →
Derives validation and an OpenAPI schema from type hints, and a working test UI appears at /docs by itself. in Backend, API & System Design →
A deliberately small core — routing and templating, no ORM or auth. in Backend, API & System Design →
Miguel Grinberg’s long, project-based Flask tutorial covering authentication, databases and deployment. in Backend, API & System Design →
A Python framework for multi-touch interfaces with one codebase for desktop and mobile. in Mobile & Desktop →
An inference engine that pages the KV cache with PagedAttention to use GPU memory efficiently. in AI · Models & Assistants →
Google’s agent kit, shipping an evaluation harness and Cloud Run deployment commands out of the box. in AI · Agents & Infrastructure →
An agent framework with memory, tools and knowledge base built into the core. in AI · Agents & Infrastructure →
An LLM tracing and evaluation tool that runs inside a notebook and renders traces locally. in AI · Agents & Infrastructure →
AWS’s open-source agent SDK. Unlike frameworks such as LangGraph where you wire the flow, you hand the model a tool… in AI · Agents & Infrastructure →
A research framework for societies of role-playing agents steering each other. in AI · Agents & Infrastructure →
HKUDS framework that wraps desktop and web software into structured command-line interfaces callable by AI agents… in AI · Agents & Infrastructure →
You give each agent a role, goal and backstory; tasks are dispatched sequentially or hierarchically. in AI · Agents & Infrastructure →
You do not write prompt text — you declare input/output signatures and supply examples, and an optimiser generates the… in AI · Agents & Infrastructure →
Decorate a function and it becomes an MCP tool, with the schema derived from type hints. in AI · Agents & Infrastructure →
Runs output through a chain of schemas and validators, retrying or repairing on failure. in AI · Agents & Infrastructure →
Wraps model, vector store and tool providers behind common interfaces. in AI · Agents & Infrastructure →
The current docs drop the old chain vocabulary for a slimmer API built around create_agent. in AI · Agents & Infrastructure →
You define agent flow as a state graph of nodes and edges. in AI · Agents & Infrastructure →
An async runtime where steps emit and listen for events. in AI · Agents & Infrastructure →
Agents solve tasks by talking in a group chat, with a manager agent deciding who speaks next. in AI · Agents & Infrastructure →
Detects and redacts personal data — national IDs, IBANs, emails — in text and images, with customisable recognisers. in AI · Agents & Infrastructure →
You declare permitted conversation flows in a DSL called Colang. in AI · Agents & Infrastructure →
Settles for four concepts: agents, tools, handoffs and guardrails, with tracing built in. in AI · Agents & Infrastructure →
Validates model output against a Pydantic schema and sends it back for correction when it fails. in AI · Agents & Infrastructure →
CLI agent that inspects browser network captures (HAR files) and turns undocumented web API calls into reusable Python… in AI · Agents & Infrastructure →
An agent SDK exposing one API across C#, Python and Java. in AI · Agents & Infrastructure →
A vector database that runs embedded in your application with no server process — usable straight after pip install. in AI · RAG, Embeddings & Vectors →
Extracts entities and relations into a knowledge graph, then builds community summaries. in AI · RAG, Embeddings & Vectors →
You wire components together explicitly, so what happens at each stage stays readable. in AI · RAG, Embeddings & Vectors →
The productised form of the MemGPT research. in AI · RAG, Embeddings & Vectors →
Makes each stage — loading, chunking, indexing, querying — independently swappable. in AI · RAG, Embeddings & Vectors →
The self-hostable version of the Mem0 memory layer. in AI · RAG, Embeddings & Vectors →
A metrics library for RAG pipelines, including metrics that work without reference answers. in AI · RAG, Embeddings & Vectors →
The standard Python library for producing embeddings. in AI · RAG, Embeddings & Vectors →
Measures the RAG triad — context relevance, groundedness, answer relevance. in AI · RAG, Embeddings & Vectors →
Reduces PDF, DOCX, HTML, email and slides to a shared document-element model. in AI · RAG, Embeddings & Vectors →
Three lines gives a strong baseline on tabular data. in AI · Applied Tools →
A machine-learning library for drug discovery, including molecular featurisation and dataset loaders. in AI · Applied Tools →
An AutoML tool that automates model selection. in AI · Applied Tools →
Visual-programming data mining whose widgets wrap scikit-learn. in AI · Applied Tools →
Decomposes a time series into trend, seasonality and holiday effects. in AI · Applied Tools →
compare_models() cross-validates dozens of algorithms in one line and tabulates the result, quickly narrowing which model family is worth pursuing. in AI · Applied Tools →
The foundational open cheminformatics library — SMILES parsing, substructure search, fingerprints. in AI · Applied Tools →
A framework that upscales video frame by frame with neural models, driving waifu2x, Real-ESRGAN and Anime4K behind the scenes. in AI · Generative Media →
Open-source voice synthesis studio combining text-to-speech, voice cloning, and multilingual dubbing in one interface… in AI · Generative Media →
A list for JAX, which offers automatic differentiation and XLA compilation. in Data Science & ML →
A resource list for Jupyter notebooks, which hold code, text and charts together. in Data Science & ML →
A list organising Python data-science libraries by workflow (data, models, visualisation). in Data Science & ML →
Bite-sized micro-courses covering Python, Pandas, SQL, and machine learning through in-browser notebook exercises… in Data Science & ML →
A high-level API reducing network construction to stacking layers in a few lines. in Data Science & ML →
A book repo that has you write a GPT from scratch in PyTorch — tokeniser, attention, training loop, fine-tuning. in Data Science & ML →
The foundation of Python plotting — seaborn and pandas’ plotting are built on it. in Data Science & ML →
The standard library for tabular data. Unlike Excel every transformation is reproducible code; it works in memory, so the data has to fit in RAM. in Data Science & ML →
An interactive charting library with zoom, tooltips and selection built in. in Data Science & ML →
A DataFrame library written in Rust. Unlike pandas it uses every core and optimises the query before running it through… in Data Science & ML →
Apache Spark’s Python interface, for when the data no longer fits on one machine. in Data Science & ML →
Free lecture notes on the scientific Python stack — NumPy, SciPy, Matplotlib. in Data Science & ML →
The standard Python library for classical machine learning — classification, regression, clustering and preprocessing… in Data Science & ML →
A statistical plotting library on top of Matplotlib. in Data Science & ML →
Turns a Python script into a web app in a few lines with no HTML, CSS or JavaScript. in Data Science & ML →
Google’s deep learning framework. Compared with PyTorch it lost research ground, yet remains strong for mobile and… in Data Science & ML →
Shows a language model’s whole training pipeline in working code, from data download to distributed training. in Data Science & ML →
End-to-end ML notebooks walking a working pipeline from data cleaning to model evaluation, progressing through real code rather than concept prose. in Data Science & ML →
An orchestrator centred on data assets, tracking each table as an “asset”. in Data Engineering →
A data-quality framework that validates and documents data with declarative expectations. in Data Engineering →
A lightweight Python library that builds data transformations as a graph from functions. in Data Engineering →
An orchestrator scheduling data pipelines as Python-defined directed graphs (DAGs). in DevOps & Infrastructure →
The standard for background tasks in Python, using Redis or RabbitMQ as a broker. in DevOps & Infrastructure →
A flow is an ordinary Python function you decorate into orchestration. in DevOps & Infrastructure →
A list of tools and examples for Scapy, the Python packet-manipulation library. in Networking & Sysadmin →
An interactive Python library for forging, sending, capturing and decoding packets; the site hosts docs and examples. in Networking & Sysadmin →
A cloud service that hosts Python apps and gives browser consoles, with a free tier. in Self-Hosting & Personal Cloud →
A list of libraries and projects for Python on microcontrollers (CircuitPython). in Electrical & Electronics →
A tool that strips metadata from files: GPS coordinates in a photo, the author field in a PDF, the revision history in an office document. in Privacy & Personal Security →
The community edition of the Python library behind the mathematical animations in 3Blue1Brown videos; you describe the scene in code. in Mathematics →
Xanadu’s differentiable-programming framework for quantum machine learning. in Quantum Computing →
IBM’s open-source quantum programming framework, giving access to real quantum hardware. in Quantum Computing →
The standard open-source Python library for simulating the dynamics of open quantum systems. in Quantum Computing →
Wraps parameterised quantum circuits as Keras-style layers to combine with classical networks. in Quantum Computing →
Open-source lectures and libraries for computational economics (Python and Julia). in Economics →
A library giving one API over more than a hundred crypto exchanges (JavaScript, Python, PHP and others). in Finance, Markets & Crypto →
Independent archive of code-heavy tutorials covering C++, Python, Linux systems programming, sockets, algorithms, and… in Learning & Roadmaps →
Course slides built from Markdown for React, Vue, Python, data science, HTML/CSS, JavaScript/TypeScript and databases, with exercises and solutions. in Learning & Roadmaps →
The University of Helsinki’s open courses, with Java and Python programming taught through auto-graded exercises. in Learning & Roadmaps →
A level-grouped list of Python projects. Unlike bare idea lists, each comes with a short brief and working code — a fix… in Learning & Roadmaps →
A riddle game where each level is solved with a bit of Python. in Practice & Challenges →
A repository that teaches Python by making failing tests (“koans”) pass one at a time. in Practice & Challenges →
Peter Norvig’s short Python programs and notebooks on puzzles, algorithms and language. in Practice & Challenges →
A Python 3 course with 100+ exercises, coded in the browser. in Practice & Challenges →
Mark Pilgrim’s free Python 3 book for programmers. in Free Books & Long Reads →
Al Sweigart’s free online Python books for beginners: games and automating everyday tasks. in Free Books & Long Reads →
A free book covering NumPy, pandas, Matplotlib and scikit-learn, published entirely as runnable Jupyter notebooks. in Free Books & Long Reads →
A free, exercise-heavy Python book. Unlike explanation-first books it moves chapter by chapter through exercises. in Free Books & Long Reads →
A free beginner book that teaches Django by building one application. in Free Books & Long Reads →
Allen Downey’s free book teaching programming from scratch with Python. in Free Books & Long Reads →
A dense single-page summary of Python syntax, collections, the standard library and common modules. in Cheat Sheets & Quick Reference →
A Python style guide. Unlike PEP 8 alone it adds Google’s rules on top — docstring format, import ordering, type-hint… in Cheat Sheets & Quick Reference →
A Python reference based on "Automate the Boring Stuff", covering syntax through the standard library. in Cheat Sheets & Quick Reference →
Doug Hellmann’s tour of the Python standard library, module by module, with runnable examples. in Cheat Sheets & Quick Reference →
An interactive Python reference that narrows as you search, opening the relevant section as you type. in Cheat Sheets & Quick Reference →
An international mentorship community for women and gender-diverse people who use Python, with local chapters. in Open Source & Contributing →
A web-scraping list of libraries, services and manuals split by language (Python, PHP, Ruby, JS, Go, CLI). in Lists, Directories & Discovery →
An archivist’s web crawler with WARC output and a dashboard for all crawls. in Open Access & Archives →
A toolset that downloads and archives MediaWiki wikis — 600,000+ preserved. in Open Access & Archives →