Station control client library
Client library for accessing IQM Station Control.
Developer-run tools
Old-vs-New Sweep Results Benchmark
A standalone script is available in this package's scripts/ directory to
verify and benchmark sweep results performance between the legacy and
streaming-v2 formats:
python scripts/run_sweep_results_benchmark.py
It supports automated job submission, polling, retrieval, equivalence validation, and performance timings.
Options
--legacy-job-id: Explicit legacy format job UUID (omitting will auto-submit a new test job).--streaming-job-id: Explicit streaming-v2 format job UUID (omitting will auto-submit a new test job).--core-url: Base URL of the Core API service.--station-url: Base URL of the Station Control service.--iterations: Number of retrieval GET repetitions to measure median timing (default: 5).
Configuration
Configuration is read from standard environment variables, specifically:
IQM_SERVER_URLIQM_TOKENorIQM_ADMIN_TOKENCORE_API_SERVICE_URL/STATION_CONTROL_SERVICE_URL(optional overrides)
Examples:
# Auto-submit and compare a degenerate mock/real run of both formats
export IQM_SERVER_URL="https://your-station-control-host"
export IQM_TOKEN="<my-token>"
python scripts/run_sweep_results_benchmark.py
# Compare retrieval times of two sweeps already completed on a real station
python scripts/run_sweep_results_benchmark.py \
--legacy-job-id "fa360df4-ec73-455b-80df-8eeb3b38421c" \
--streaming-job-id "7769e5d4-48cb-4679-b1d5-8664161f5c6b"
Installation
Note: uv is highly recommended for practical Python environment and package management. The supported Python versions are
=3.11, <3.15.
uv pip install iqm-station-control-client
Reproducible installations
For reproducible installations, pinned dependency extras are available:
pin-iqm: pins inter-IQM package dependencies to exact co-released versions.pin-all: likepin-iqm, but additionally pins all transitive third-party dependencies.
For example:
uv pip install "iqm-station-control-client[pin-all]"
Note: This package was tested at release time for clean installation with
uv 0.11.20andpip 25.1.1. Other versions are likely to work but are not verified per release.
Metadata
Release files for iqm-station-control-client 14.0.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 | Provenance | Actions |
|---|---|---|---|---|
| iqm_station_control_client-14.0.0.tar.gz | 85.3 kB | Without provenance | Details for iqm_station_control_client-14.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iqm_station_control_client-14.0.0-py3-none-any.whl | Python 3 | none | any | Details for iqm_station_control_client-14.0.0-py3-none-any.whl |
Total release size: 190.2 kB
Release files / iqm_station_control_client-14.0.0.tar.gz
| Download URL | iqm_station_control_client-14.0.0.tar.gz |
|---|---|
| Size | 85.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0c31a50c41dc64f54a325e5c6a99040cc0aa800bb1a0ace5a58dd7595f59784
|
|
BLAKE2b-256 checksum How to use checksums |
3cc91fb496855a0cb49f52a0d4bfa3f7f60ddbce0f19cdd18e74c2bf34ad7ca1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / iqm_station_control_client-14.0.0-py3-none-any.whl
| Download URL | iqm_station_control_client-14.0.0-py3-none-any.whl |
|---|---|
| Size | 104.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
237128d1e33e334b6054cfc2dcdd1fa8a80a9f35d070dcb744aadc5c3a89b225
|
|
BLAKE2b-256 checksum How to use checksums |
70a6b70079bdf6c72e2018c4eecd9865406ba073aef16485ea822329c5c4698e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for iqm-station-control-client 14.0.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.