The Python Tutorial (official)
The official tutorial from python.org, covering the core language and standard library. Short, accurate and always current.
Other python tools, in our recommended order. About mypy →
The official tutorial from python.org, covering the core language and standard library. Short, accurate and always current.
End-to-end testing from Microsoft for Chromium, Firefox and WebKit, with auto-waiting, tracing and a code generator. Also has Python, .NET and Java versions.
Fast Python package and project manager from Astral, written in Rust. Replaces pip, virtualenv, pip-tools and pyenv: it installs Python versions, manages a lockfile and runs scripts.
Very fast Python linter and formatter written in Rust. Covers most of the rules of Flake8, isort and Black in one tool.
The most widely used Python testing framework. Tests are plain functions with assert, fixtures handle setup, and there are plugins for almost everything.
Python web framework for APIs built on type hints: request validation, serialisation and interactive OpenAPI docs come from your function signatures.
Data validation with Python type hints: define a model class and Pydantic parses and validates input into it. Used by FastAPI and many other libraries.
DataFrame library written in Rust with a Python API. Often much faster than pandas on large data, with lazy queries that are optimised before they run.
HTTP client for Python with a requests-style API plus async support and HTTP/2.