How to install the Python package machinestate with pip

By Where is my Python module

python
pip
machinestate

Run the following command to install the package and its dependencies.

pip install machinestate