VAEM
festo-vaem is a Python library enabling control and programmatic operation of Festo's VAEM 8 channel electronic valve control device.

Installation
From Codebase
Navigate to the directory where the code is stored and, using pip, type in the following command:
This will package the library locally and can be used as regular imports
Official Packaged Releases
The lastest released version of this package can be found on the package registry of this project Install using pip:
From Git Repository
If installation via PyPI does not work, the festo-vaem python driver source code can be installed directly from Github. Access the repository here: festo-vaem Github repo
Or as an editable dependency with a local copy of the source code:
- Clone the repository
- Navigate to the clone destination directory
- Install with pip
Installation Within Virtual Environment
To install within a virtual environment, either create one by using the following command
Or if one already exists, activate using:
Once activated, use the instructions from the Release section to install the package
Installation With uv By Astral
If your software environment utilizes uv or if you wish to begin using uv for everything python follow the instructions below.
If uv is not already installed on the host PC or device, it can be installed following the uv installation guide, or by using pip or pipx.
For pip:
For pipx:
Once uv is installed or if uv is already installed on the host PC or device, use the following command to install the VAEM package into an existing virtual environment.
To add the vaem library to an existing project
Pymodbus Dependency
The festo-vaem library uses pymodbus as its dependency for communicating via Ethernet and Serial connections. Although it is not necessary for the user to import or link this dependency as the library dynamically already imports this dependency, to gain a better understanding please visit PyModbus Homepage or for a more in depth reading please visit PyModbus readthedocs. The pypi package can also be found here.