============ Installation ============ `The QMI git repository `_ is hosted on GitHub. While it is possible to install QMI by checking out the repository, for normal use we recommend installation via `pip`. .. code-block:: shell pip install qmi ------------ Dependencies ------------ .. rubric:: Python version QMI depends on Python 3.11 or newer. .. rubric:: Python packages QMI depends (directly or indirectly) on the following packages. These packages can be installed via `pip`, if that is your preferred way of installing Python packages. * Packages `numpy `_, `scipy `_, `h5py `_ and `matplotlib `_ for scientific data processing and visualisation; * Packages `pyusb `_, `python-vxi11 `_ and `pyserial `_ for hardware interfacing; * Packages `pytz `_, `psutil `_, `jsonschema `_ and `colorama `_ for miscellaneous functionality; * Packages `sphinx `_ and `sphinx_rtd_theme `_ for generating documentation; * Packages `pip `_, `setuptools `_, `wheel `_, and `twine `_ for generating an installable package and deploying to `PyPi `_. The following Python packages provide support for specific hardware. They are not hard dependencies: QMI will work fine without them, but you will be unable to use the instruments they support if they're not installed. * Package `ADwin `_ for Adwin instruments. * Package `pydwf `_ for Analog Discovery 2 instrument. * Package `PyVISA `_ for certain Windows(-only) instruments. * Package `uldaq `_ for supporting MCC and MCC-based instruments (Bristol FOS); * Package `zhinst `_ for the Zürich Instruments AWG. * Package `RPi.GPIO `_ for controlling the digital pins of the Raspberry Pi. Note that this list might not be complete, as by introduction of new hardware drivers, new packages could be added. The QMI project uses Mypy and Ruff in checking the code quality. For local checks it is useful to have: * Packages `ruff `_ and `mypy `_ for static code checks; .. rubric:: Dependencies on closed-source drivers * `Digilent `_ `Analog Discovery 2 `_ and `Digital Discovery `_; * `PicoQuant `_ `Multiharp 150 `_; * `Jäger Computergesteuerte Messtechnik `_: `ADwin-Pro II `_; * `Imagine Optic `_ `mirao 52e `_. Note that this list might not be complete, as by introduction of new hardware drivers, new dependencies could be added.