Skip to main content

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_URL
  • IQM_TOKEN or IQM_ADMIN_TOKEN
  • CORE_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: like pin-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.13.6 and pip 25.1.1. Other versions are likely to work but are not verified per release.

Metadata

Release files for iqm-station-control-client 15.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iqm-station-control-client 15.0.0
File Size Uploaded Provenance Actions
iqm_station_control_client-15.0.0.tar.gz 89.7 kB Without provenance Details for iqm_station_control_client-15.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iqm-station-control-client 15.0.0
File Interpreter ABI Platform Actions
iqm_station_control_client-15.0.0-py3-none-any.whl Python 3 none any Details for iqm_station_control_client-15.0.0-py3-none-any.whl

Total release size: 200.3 kB

Release files / iqm_station_control_client-15.0.0.tar.gz

Download URL iqm_station_control_client-15.0.0.tar.gz
Size 89.7 kB
Tags Source
SHA-256 checksum
How to use checksums
885f81579dcd88103d81cef9c6aa393608eca74c81d78c2a96ee8389018aefcb
BLAKE2b-256 checksum
How to use checksums
df2b31170daee598bccc9d2ccf21bf66b5fade956fb117ad0aea23116e03f458
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-15.0.0-py3-none-any.whl

Download URL iqm_station_control_client-15.0.0-py3-none-any.whl
Size 110.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c65c90ce5716c4171015a5d2ccfbf979aadffb2ed7ad11966c962ae29153d945
BLAKE2b-256 checksum
How to use checksums
c82a4acc5d5a1a4975fd56f42e9edc1349f83021a8277e09242c2577475f6256
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 15.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.

Release history Release notifications | RSS feed

This release

15.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page