This source code illustrates concepts in the training and was used to develop it.
api-design: illustrates how to design APIs in Python.context-manager: illustrates how to write your own context managers.coroutines: illustrates how to write coroutines in Python.decorators: illustrates how to write decorators in Python.descriptors: illustrates how to write descriptors in Python.design-patterns: illustrates some common design patterns in Python.functional-programming: illustrates some concepts of functional programming in Python.introspection: illustration of how to implement introspection in Python.iterators: illustrates iterators and functional programming concepts.object-orientation: illustrates some concepts of object-oriented programming in Python.operators-functools: illustrates some applications of theoperatorandfunctoolsmodules in Python's standard library.typing: illustrates how to use type annotation in Python, and demonstratesmypy.testing: illustrates writing unit tests withunittestandpytest.oo_vs_functional.ipynb: comparing object-oriented approach to functional approach, including coroutines.metaclasses: illustration of the use of metaclasses in Python.data-structures: illustration of Python and standard library data structures.code-organization: illustration of how to organize code in packages and modules.error-handling: simple illustration of error handling.pyinstaller: illustration of how to usepyinstallerto create standalone executables.text-resources: illustration on how to include text resources in a package and conveniently access them.pydantic.ipynb: illustration of how to use thepydanticlibrary for data validation.