-
Book Overview & Buying
-
Table Of Contents
Hands-On Software Engineering with Python - Second Edition
By :
The code for this chapter was written in Python 3.11, using pipenv for package and Python Virtual Environment management, as described earlier in this book. The chapter repository’s Pipfile has all the required package dependencies across all of those options, and a functional PVE can be initiated by running the following from the CH-13-code/hms-core project root directory:
pipenv sync –dev
pipenv sync
Verification that the packages needed are all installed can be accomplished by running
pipenv graph
…which should output something similar to this (though the versions may vary, and sub-dependencies have been omitted here):
email-validator==2.2.0
flake8==7.1.1
mysql-connector-python==9.2.0
pydantic==2.10.6
PyYAML==6.0.2
typeguard==4.4.1
Database setup will require a functional installation of MySQL 8.x (the version in play while the chapter was being written was 8.0.41). Installers for MySQL are available online...