Skip to main content

lightfall-utils

Shared Qt/EPICS infrastructure for ALS control applications (Lightfall, CAtfish).

Extracted from Lightfall. Modules:

  • lightfall_utils.threads — managed Qt thread pool, QThreadFuture, main-thread marshalling
  • lightfall_utils.logging / log_buffer — loguru configuration, timing, in-process log ring buffer
  • lightfall_utils.qt_affinity — GUI-thread assertion helpers (gui_thread_only)
  • lightfall_utils.config — priority-layered YAML config with pydantic validation
  • lightfall_utils.theming — semantic design tokens, theme registry/manager, QSS generation
  • lightfall_utils.ipc — NATS-backed IPCService with a trust handshake, per-session capability channels, discovery and a structured reply protocol; optional LocalNatsServer for broker-less development (pip install lightfall-utils[local-nats]). lightfall_utils.ipc.capability (stdlib only) holds the connection-capability helpers that bcgnats requires of every client: a secret connect token plus a matching _INBOX.<p> inbox prefix (see Lightfall's NATS Use Model developer-guide page and docs/ipc.md).
  • lightfall_utils.ca — caproto → Qt signal bridge (SharedContext, PV); requires the ca extra
  • lightfall_utils.caproto_shutdown — drains caproto's user-callback thread pools cleanly at application shutdown

Install: pip install lightfall-utils[ca]. Add the multihomed extra alongside ca for caproto multi-homed interface enumeration (pip install lightfall-utils[ca,multihomed]).

Development:

python -m venv .venv
.venv\Scripts\activate    # Windows (source .venv/bin/activate on Unix)
pip install -e ".[dev]"
pytest

Metadata

Release files for lightfall-utils 0.3.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 lightfall-utils 0.3.0
File Size Uploaded Provenance
lightfall_utils-0.3.0.tar.gz 145.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lightfall-utils 0.3.0
File Interpreter ABI Platform
lightfall_utils-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 249.5 kB

Release files / lightfall_utils-0.3.0.tar.gz

Download URL lightfall_utils-0.3.0.tar.gz
Size 145.6 kB
Tags Source
SHA-256 checksum
How to use checksums
00e03b3d3b9a4b4622683228acf3ac480df03ec80a8c30869d894db3a20db700
BLAKE2b-256 checksum
How to use checksums
cab766b5052ce2b7db386c86a87c21ba2daf081972d99d31cf14de77d0d606c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 23, 2026.

Transparency log

Release files / lightfall_utils-0.3.0-py3-none-any.whl

Download URL lightfall_utils-0.3.0-py3-none-any.whl
Size 103.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e3f2b16b60d68e64e8d310cd65e4f6b8b05ba45ee42bc7d5d1a043c8cf8a4f4
BLAKE2b-256 checksum
How to use checksums
bd9aadd0b1b8d104a8e458997fa2ac34c5d2156e04b3e9a4535654ac1c3ea4b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 23, 2026.

Transparency log

Security for lightfall-utils 0.3.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lightfall_utils-0.3.0.tar.gz

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 Oct 23, 2026.

Transparency log

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.

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