Skip to content

Latest commit

 

History

History

source-code

Source code

This source code illustrates concepts in the training and was used to develop it.

What is it?

  1. api-design: illustrates how to design APIs in Python.
  2. context-manager: illustrates how to write your own context managers.
  3. coroutines: illustrates how to write coroutines in Python.
  4. decorators: illustrates how to write decorators in Python.
  5. descriptors: illustrates how to write descriptors in Python.
  6. design-patterns: illustrates some common design patterns in Python.
  7. functional-programming: illustrates some concepts of functional programming in Python.
  8. introspection: illustration of how to implement introspection in Python.
  9. iterators: illustrates iterators and functional programming concepts.
  10. object-orientation: illustrates some concepts of object-oriented programming in Python.
  11. operators-functools: illustrates some applications of the operator and functools modules in Python's standard library.
  12. typing: illustrates how to use type annotation in Python, and demonstrates mypy.
  13. testing: illustrates writing unit tests with unittest and pytest.
  14. oo_vs_functional.ipynb: comparing object-oriented approach to functional approach, including coroutines.
  15. metaclasses: illustration of the use of metaclasses in Python.
  16. data-structures: illustration of Python and standard library data structures.
  17. code-organization: illustration of how to organize code in packages and modules.
  18. error-handling: simple illustration of error handling.
  19. pyinstaller: illustration of how to use pyinstaller to create standalone executables.