01 — Python¶
Core Python: syntax, data structures, OOP, the standard library, and packaging.
Scope¶
Cheat sheets for the Python language itself. Domain-specific libraries belong to their own categories — e.g. pandas goes to 02-Data-Analysis, PyTorch to 05-Deep-Learning.
Cheat Sheets¶
| Cheat Sheet | Description |
|---|---|
| python.md | Core language: types, collections, functions, generators, exceptions, files, modules, decorators |
| python-oop.md | Classes, inheritance, dataclasses, properties, magic methods |
| python-standard-library.md | pathlib, json, csv, collections, itertools, functools, logging |
| python-regex.md | Regular expressions with the re module |
| python-typing.md | Type hints, generics, Protocols, mypy — including pandas/NumPy typing |
| python-virtual-environments.md | venv, activation, reproducible environments |
| pip.md | Installing and managing packages with pip |
| uv.md | Fast Python package and environment management with uv |
Planned Cheat Sheets¶
- Python Concurrency — threads, asyncio, multiprocessing
Contribute¶
- Template: CHEATSHEET_TEMPLATE.md
- Guide: CONTRIBUTING.md