Python

Production Python

Socratic Tutor

What makes a Python developer production-ready. Testing, profiling, type hints, and CPython internals.

Error Handling & Debugging

Exception Hierarchy & Custom Exceptions
Traceback, pdb & Debugging Techniques
Logging Best Practices & Structured Logging

Testing

pytest Fundamentals & Fixtures
Mocking with unittest.mock
Property-Based Testing & Hypothesis

Performance & Profiling

cProfile, timeit & Profiling Workflows
Memory Profiling & Optimization
C Extensions, Cython & ctypes
CPython Internals & Bytecode

Type Hints & Modern Python

Type Hints & the typing Module
mypy, Pyright & Static Analysis
Protocol, Runtime Validation & Pydantic
StackSweep | Engineering practice