To get the most out of this book
Use a machine with a recent version of Windows, Linux, or macOS.
Install Python 3.12. It is also useful to create a virtual environment from your Python installation so that when you add third-party modules required for following some of the chapters, you do not end up polluting your global Python. This is a fundamental best practice for productivity with Python, and you will find many resources on the Internet that explain how to do this.
Install and use Docker on your machine. This will help with the requirement of some external software services or tools, such as LocalStack (used in Chapter 6) and the Redis server (used in Chapter 8).
Software/hardware covered in the book |
Operating system requirements |
Python 3.12 |
Windows, macOS, or Linux |
MyPy 1.10.0 |
|
Docker |
|
Redis-server 6.2.6 |
|
LocalStack 3.4.0 |
If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.