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.1

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.1
File Size Uploaded Provenance
lightfall_utils-0.2.1.tar.gz 85.0 kB With provenance Details

Built distribution (wheel)

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

Total release size: 149.6 kB

Release files / lightfall_utils-0.2.1.tar.gz

Download URL lightfall_utils-0.2.1.tar.gz
Size 85.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fb6532d07209e9042489540dfb24e2640b67dc76d4c7a9a0473bdd6bd1c20fe2
BLAKE2b-256 checksum
How to use checksums
433ece790c358df98bf5edc00af2bd898b6022b28896dc7db2ee5e0c2ce0bd65
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 Oct 19, 2026.

Transparency log

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

Download URL lightfall_utils-0.2.1-py3-none-any.whl
Size 64.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5d5e5ca57e15691d23b2f9e7248840bc8f43220edbd7c2acf6df0e251a3689d
BLAKE2b-256 checksum
How to use checksums
a281a1bbdbc34e585670eef07a1d73008a7536e6dbf9f6bfb2c91ef06a502a23
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 Oct 19, 2026.

Transparency log

Security for lightfall-utils 0.2.1

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.2.1.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 19, 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