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.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.2.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.2.0
File Size Uploaded
lightfall_utils-0.2.0.tar.gz 83.8 kB Details

Built distribution (wheel)

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

Total release size: 148.4 kB

Release files / lightfall_utils-0.2.0.tar.gz

Download URL lightfall_utils-0.2.0.tar.gz
Size 83.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f93ffacc52400ec5c62d67a26a7ebc6e1b86307b662c02196244b7e72e252350
BLAKE2b-256 checksum
How to use checksums
041238ef20ab15dc38af8112deb191b30a217d81a6f929cb8208d789a7523a6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 21, 2026.

Transparency log

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

Download URL lightfall_utils-0.2.0-py3-none-any.whl
Size 64.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fe0b21cb8434f5c1f3c1a9ab1cb9230482d5a57b5834f51043be76bab0500f0
BLAKE2b-256 checksum
How to use checksums
095b7c5ea7cfcfe4921137e90a414dce0320d85fd6554246ddc0d24bc5e756bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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