Installation¶
Prerequisites¶
Hermes-DM relies on PyVISA to communicate with physical hardware. You must have a working VISA backend installed on your system.
Windows/macOS: We recommend installing NI-VISA, but
pyvisa-pywill work as well.Linux: You can use the pure-Python backend by installing
pyvisa-pyalongside this package.
Standard Installation (End Users)¶
(Note: Hermes-DM is currently in pre-release. Once published to PyPI, you can install it via pip.)
To install the latest stable release:
python -m pip install hermes-dm
To install with the pure-Python VISA backend (recommended for Linux):
python -m pip install hermes-dm[pyvisa-py]
Developer Installation¶
If you want to contribute to the project or run the test suite, install the package from source in “editable” mode.
Clone the repository:
git clone https://github.com/cbeiraod/hermes-dm.git cd hermes-dm
Create and activate a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows use: .venv\Scripts\activate
Install with development and documentation tools:
pip install -e ".[dev,docs]"
Install the pre-commit Git hooks:
pre-commit install