-
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 Python Virtual Environment (PVE) can be initiated by running the following from the CH-14-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):
coverage==7.6.12
email-validator==2.2.0
mccabe==0.7.0
mysql-connector-python==9.2.0
pycodestyle==2.12.1
pydantic==2.10.6
pyflakes==3.2.0
pytest==8.3.5
PyYAML==6.0.2
typeguard==4.4.2
Database setup will require a functional installation of MySQL 8.x (the version in...