Qualisys SDK for Python
The Qualisys SDK for Python implements our RealTime(RT) protocol and works with Python 3.10 and above.
Installation
The easiest way to install the qtm_rt package is by using pip:
python -m pip install pip --upgrade # Upgrade to latest pip
python -m pip install qtm-rt
It's also possible to install from github:
python -m pip install git+https://github.com/qualisys/qualisys_python_sdk.git
Or just clone the repo and copy the qtm_rt folder into you project folder,
Documentation
https://qualisys.github.io/qualisys_python_sdk/index.html
Examples
See the examples folder.
Logging
The SDK logs through the standard logging module under the qtm_rt logger
and does not emit any output on its own. Call logging.basicConfig() (or
attach a handler to the qtm_rt logger) in your application to see the
messages:
import logging
logging.basicConfig(level=logging.INFO)
Setting the environment variable QTM_LOGGING=debug lowers the qtm_rt
logger's threshold to DEBUG. It does not, by itself, produce output —
configure a handler as above.
Missing RT features and limitations
Implementation only uses little endian, should connect to standard port 22223. Protocol version must be 1.8 or later.
GetCaptureC3D is not implemented. GetCaptureQTM is not implemented.
No support for selecting analog channel.
Development
Use the following bash commands in sequence to build the distribution and
documentation:
# Setup build environment
python -m venv .venv
source ./.venv/Scripts/activate
pip install -r requirements-dev.txt
# Run tests
pytest test/
# Build source tarball and python wheel in dist/
python -m build
# Check the built distributions
twine check dist/*
# Build sphinx documentation in docs/_build/html/
make -C docs html
# Copy build output to gh-pages branch (checked out in a separate clone of the repository in ../qualisys_python_sdk_gh_pages)
# Make sure to keep v102/, v103/ and v212/ directories with the old documentation.
cp -r docs/_build/html/* ../qualisys_python_sdk_gh_pages
# Commit the changes with a message like "Update documentation to version x.y.z"
git -C ../qualisys_python_sdk_gh_pages add .
git -C ../qualisys_python_sdk_gh_pages commit
git -C ../qualisys_python_sdk_gh_pages push origin gh-pages
# Git tag and make a release on GitHub
git tag vx.y.z
git push --tags
Publishing
Releases are published automatically to https://pypi.org/project/qtm-rt/ when a GitHub release is published.
Before using the release workflow for the first time, configure PyPI Trusted
Publishing for the qtm-rt project:
Owner: qualisys
Repository name: qualisys_python_sdk
Workflow filename: release.yml
Environment name: pypi
The package version is defined in pyproject.toml. Update it before tagging
and publishing a GitHub release.
Release files for qtm-rt 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qtm_rt-3.1.0.tar.gz | 15.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qtm_rt-3.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.9 kB
Release files / qtm_rt-3.1.0.tar.gz
| Download URL | qtm_rt-3.1.0.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67bc071094cce33a969cc8e6e1dac98ebe0ad6d832fdb568c67f2c23bb032b19
|
|
BLAKE2b-256 checksum How to use checksums |
9407b6110b89e2682181e733a31f4d38b69eead7ccb1e35ec7252caf60b6b388
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 10, 2026.
Transparency logRelease files / qtm_rt-3.1.0-py3-none-any.whl
| Download URL | qtm_rt-3.1.0-py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62cb380da51fc9dd947cbfa24a7ca9a6abad8d396e8ed84e68eda69bdf631c29
|
|
BLAKE2b-256 checksum How to use checksums |
92a969c64ce2a815c1ec60d38438237e90e2e40bcb979d373e8ab2df905bddcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 10, 2026.
Transparency log