Technical requirements
For the chapters in this book, you will need a running Python 3.12 environment, or for some exceptional cases in some chapters, 3.11.
In addition, install the Mypy static type checker (https://www.mypy-lang.org) by running the following:
python3.12 –m pip install -–user mypy
The examples are available in the GitHub repository here: https://github.com/PacktPublishing/Mastering-Python-Design-Patterns-Third-Edition
About the Python executable
Throughout the book, we will reference the Python executable for executing code examples as python3.12
or python
. Adapt that to your specific environment, practice and/or workflow.