Advanced Python Mastery
Master concurrency, async programming, metaprogramming, performance optimization, design patterns, and production-ready Python.
StartCourse Content
- 01Threading, Multiprocessing, and Concurrency
- 02Asynchronous Programming with asyncio
- 03Metaclasses and Descriptors
- 04Advanced Decorators
- 05Performance Optimization, Cython, and Numba
- 06Memory Management and Garbage Collection
- 07Creational and Structural Design Patterns
- 08Behavioral Design Patterns
- 09Building APIs with FastAPI
- 10Package Distribution and PyPI Publishing
Lessons: 10 · 6 Weeks
Sources and references
82
82 sources across 6 lessons
- threading, Thread-based parallelismPython Software Foundation
- Python support for free threadingPython Software Foundation
- concurrent.futures, Launching parallel tasksPython Software Foundation
- multiprocessing, Process-based parallelismPython Software Foundation
- What's New In Python 3.14Python Software Foundation
Used in: Threading, Multiprocessing, and Concurrency, Asynchronous Programming with asyncio, Metaclasses and Descriptors, Advanced Decorators, Memory Management and Garbage Collection
- PEP 734, Multiple Interpreters in the StdlibPython Software Foundation
- concurrent.interpreters, Multiple interpreters in the same processPython Software Foundation
- PEP 703, Making the Global Interpreter Lock Optional in CPythonPython Software Foundation
Used in: Threading, Multiprocessing, and Concurrency, Memory Management and Garbage Collection
- PEP 779, Criteria for accepting an official parallel free-threaded CPython buildPython Software Foundation
- sysconfig, Provide access to Python's configuration informationPython Software Foundation
- sys, System-specific parameters and functionsPython Software Foundation
Used in: Threading, Multiprocessing, and Concurrency, Memory Management and Garbage Collection
- Free-threaded Python: one year recapQuansight Labs
Used in: Threading, Multiprocessing, and Concurrency, Memory Management and Garbage Collection
- PEP 803, Stable ABI for Free-Threaded BuildsPython Software Foundation
- What's New In Python 3.15Python Software Foundation
Used in: Threading, Multiprocessing, and Concurrency, Asynchronous Programming with asyncio, Metaclasses and Descriptors, Advanced Decorators, Performance Optimization, Cython, and Numba, Memory Management and Garbage Collection
- faulthandler, Dump the Python tracebackPython Software Foundation
Used in: Threading, Multiprocessing, and Concurrency, Performance Optimization, Cython, and Numba
- torch.utils.data, Data loading utilitiesPyTorch Foundation
- joblib.Parallel, Embarrassingly parallel helper objectjoblib project
- A conceptual overview of asyncioPython Software Foundation
- asyncio, Asynchronous I/OPython Software Foundation
- Coroutines and TasksPython Software Foundation
- What's New In Python 3.13Python Software Foundation
Used in: Asynchronous Programming with asyncio, Metaclasses and Descriptors
- What's New In Python 3.11Python Software Foundation
- Synchronization PrimitivesPython Software Foundation
- QueuesPython Software Foundation
- AnyIO documentationAnyIO project
- Trio documentationTrio project
- StreamsPython Software Foundation
- Uvicorn documentationEncode
- Data model, Python 3.15 referencePython Software Foundation
Used in: Metaclasses and Descriptors
- types, Dynamic type creation and names for built-in typesPython Software Foundation
Used in: Metaclasses and Descriptors
- PEP 487, Simpler customisation of class creationPython Software Foundation
Used in: Metaclasses and Descriptors
- abc, Abstract Base ClassesPython Software Foundation
Used in: Metaclasses and Descriptors
- enum, Support for enumerationsPython Software Foundation
Used in: Metaclasses and Descriptors
- Descriptor HowTo GuidePython Software Foundation
Used in: Metaclasses and Descriptors
- PEP 649, Deferred Evaluation Of Annotations Using DescriptorsPython Software Foundation
- annotationlib, Function for retrieving and evaluating annotationsPython Software Foundation
- PEP 681, Data Class TransformsPython Software Foundation
Used in: Metaclasses and Descriptors
- inspect, Inspect live objectsPython Software Foundation
Used in: Metaclasses and Descriptors
Used in: Metaclasses and Descriptors
Used in: Metaclasses and Descriptors
- PEP 318, Decorators for Functions and MethodsPython Software Foundation
Used in: Advanced Decorators
- PEP 3129, Class DecoratorsPython Software Foundation
Used in: Advanced Decorators
- functools, Higher-order functions and operations on callable objectsPython Software Foundation
Used in: Advanced Decorators
- PEP 612, Parameter Specification VariablesPython Software Foundation
Used in: Advanced Decorators
- typing, Support for type hintsPython Software Foundation
Used in: Advanced Decorators
- contextlib, Utilities for with-statement contextsPython Software Foundation
Used in: Advanced Decorators
- dataclasses, Data ClassesPython Software Foundation
Used in: Advanced Decorators
Used in: Advanced Decorators
- How to use fixtures, pytestpytest project
Used in: Advanced Decorators
- Validators, PydanticPydantic
Used in: Advanced Decorators
- PEP 747, Annotating Type Forms with TypeFormPython Software Foundation
Used in: Advanced Decorators
- profile and cProfile, Python profilersPython Software Foundation
- PEP 799, The profiling packagePython Software Foundation
- sys.monitoring, Access and control event monitoringPython Software Foundation
- timeit, Measure execution time of small code snippetsPython Software Foundation
- Basic Cython tutorialCython project
- Typed memoryviewsCython project
- Working with NumPy arrays in CythonCython project
- Pure Python modeCython project
- Using parallelism in CythonCython project
- Free threading and CythonCython project
- Compiling Python code with @jitNumba project
- Automatic parallelization with @jitNumba project
- STUMPY documentationSTUMPY project
- gc, Garbage Collector interfacePython Software Foundation
- tracemalloc, Trace memory allocationsPython Software Foundation
- resource, Resource usage informationPython Software Foundation
- Memray documentationBloomberg
- array, Efficient arrays of numeric valuesPython Software Foundation
- copy, Shallow and deep copy operationsPython Software Foundation
- weakref, Weak referencesPython Software Foundation
- PEP 683, Immortal Objects, Using a Fixed RefcountPython Software Foundation