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.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.1.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.1.0
File Size Uploaded
lightfall_utils-0.1.0.tar.gz 51.7 kB Details

Built distribution (wheel)

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

Total release size: 101.6 kB

Release files / lightfall_utils-0.1.0.tar.gz

Download URL lightfall_utils-0.1.0.tar.gz
Size 51.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c9f8e1309bc5d1dba8adb62353817df98887c91734e47933e406973ab1c736ce
BLAKE2b-256 checksum
How to use checksums
4764af8199b82257c4eb00dc2dddc2ab8060317d3fa28278de763ae1a294b6f5
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 Aug 26, 2026.

Transparency log

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

Download URL lightfall_utils-0.1.0-py3-none-any.whl
Size 49.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac829062fdc28357a979108041607bbc58c5128f895c6cb8cb519497a230de55
BLAKE2b-256 checksum
How to use checksums
3ba8669f0c70055feb49e6276e2e9ba75b72fe8801acd7100434586f230f1365
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 Aug 26, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.0

2 release files

This release

0.1.0 This release

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