Skip to main content

Python interface to the caenhv-client GUI: fire/raise the application from other Python projects (e.g. labscript BLACS)

Project description

caenhv-client-python

Python interface to the caenhv-client GUI (CAEN HV control with channel linking). Zero dependencies; the GUI itself is distributed as a standalone executable.

The only capability is firing the GUI — raise its window if running, launch it otherwise — over a tiny local IPC protocol. There is deliberately no remote control of HV settings.

from caenhv_client_python import fire_gui, notify_gui

fire_gui()      # raise the window if running, otherwise launch the GUI
notify_gui()    # raise only; returns False if the GUI is not running

Configuration via environment variables:

  • CAENHV_CLIENT_COMMAND — path (or command line) of the caenhv-client executable, used when it is not on PATH.
  • CAENHV_CLIENT_IPC_NAME — IPC server name (default caenhv-client), must match the GUI's setting when overridden.

Works from any Python process, including labscript BLACS tabs and workers; no Qt required (a Unix-socket / named-pipe transport is used, with PyQt5 as an optional fallback).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

caenhv_client_python-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

caenhv_client_python-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file caenhv_client_python-0.1.0.tar.gz.

File metadata

  • Download URL: caenhv_client_python-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for caenhv_client_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d2c8a7d7c17b6b38de65fda182ea16384f297f0507fbee713b7d7a7d4517adc4
MD5 e0799c8bede02f89b0105e67a42bbc43
BLAKE2b-256 8d59e613c4862ba6ab23a237a2ae3e446207c18558936abda5428dd78780e40c

See more details on using hashes here.

Provenance

The following attestation bundles were made for caenhv_client_python-0.1.0.tar.gz:

Publisher: publish-python.yml on kenji0923/caenhv-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file caenhv_client_python-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for caenhv_client_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 063ed8b141b546de0fc1069a0fa3a3105137aeeb3929162af61d2ecfbe8c0eb6
MD5 b68d6dc06db381776116f9a10c057dc7
BLAKE2b-256 9f3da8cf8cbe49ffbb567b2f4ab9184f7a611de2c167001cc8454162a1cb23bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for caenhv_client_python-0.1.0-py3-none-any.whl:

Publisher: publish-python.yml on kenji0923/caenhv-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page