← Home ← Codex ← DEBT
Browse by Category
+ added · updated 7d
✕ Clear A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Python Descriptor Protocol Python 3.6+
Objects implementing __get__/__set__/__delete__ that intercept attribute access at the class level — the machinery behind property, classmethod, and ORM fields.
3w ago Python advanced
pathlib & Modern File Handling Python 3.4+
pathlib.Path provides an object-oriented API for filesystem operations — replacing os.path string manipulation with readable, chainable, and cross-platform path handling.
3mo ago Python beginner
Python Packaging Python 3.7+
pyproject.toml with Poetry or PDM replaces setup.py and requirements.txt — providing locked, reproducible, separated dev/prod dependencies like composer.lock.
3mo ago Python intermediate
Pydantic Python 3.8+
A Python library for data validation using type annotations — defining models as classes with typed fields that validate and coerce input data at runtime.
3mo ago Python intermediate
Diagram: Python async/await & asyncio Python async/await & asyncio Python 3.5+ 🧠 2
Python's native async framework — coroutines, event loop, and asyncio — for concurrent I/O without threads.
3mo ago Python intermediate
Python Dataclasses & Pydantic Python 3.7+ 🧠 3
@dataclass auto-generates __init__, __repr__, __eq__; Pydantic adds runtime validation and serialisation — Python's equivalent of typed DTOs.
3mo ago Python intermediate
Diagram: Python Decorators Python Decorators Python 2.4+ 🧠 1
Functions that wrap other functions to add behaviour — @cache, @dataclass, @property — applied at definition time with the @ syntax.
3mo ago Python intermediate
Python Error Handling Python 2.0+ 🧠 1
Python uses try/except/else/finally blocks and a rich exception hierarchy — good error handling is specific, informative, and never silently swallows exceptions.
3mo ago Python intermediate
Python Generators & yield Python 2.2+ 🧠 1
Functions that yield values one at a time — enabling lazy evaluation of infinite sequences without storing all values in memory.
3mo ago Python intermediate
Python Logging Python 3.0+
Python's built-in logging module provides a structured, configurable way to emit log messages at different severity levels — replacing print() for production code.
3mo ago Python intermediate
Python Pattern Matching (match/case) Python 3.10+
Python 3.10+ structural pattern matching — more powerful than switch/case, matching values, types, sequences, mappings, and class attributes in a single readable construct.
3mo ago Python intermediate
Python Type Hints & mypy Python 3.5+ 🧠 1
Optional static type annotations — def greet(name: str) -> str — checked by mypy and IDEs at analysis time, ignored at runtime.
3mo ago Python intermediate
Python Virtual Environments Python 3.3+
Isolated Python environments that allow different projects to have different package versions — preventing the global site-packages conflicts that plagued early Python development.
3mo ago Python beginner
✓ schema.org compliant