PYPI PACKAGE AUDIT
v0.4.0
Healthy Package
lightfall
Lightfall - control system for the ALS facility
770
/ 1000
Quick Install
pip install lightfall
1. Governance
50/200
2. PEP Metadata
200/200
3. Security
200/200
4. Docs & SEO
155/200
5. CI Engineering
165/200
๐ฃ Share Audit:
Share this report and visual preview in the current language
PYPI TELEMETRY
Downloads & Community Adoption
Last 30 days (without mirrors)
Last 7 days
141
Last 30 days
196
Total (180 days)
809
Health & Engineering Analysis (5 Pillars)
1. Governance & Community50 / 200 โพ
LICENSEโ 50 pts
SECURITY.mdโ 0 pts
CONTRIBUTING.mdโ 0 pts
CODE_OF_CONDUCT.mdโ 0 pts
2. PEP Metadata & Packaging200 / 200 โพ
Wheel (.whl)โ 50 pts
pyproject.tomlโ 50 pts
Project URLsโ 50 pts
Trove Classifiersโ 50 pts
3. Security & Supply Chain200 / 200 โพ
Zero CVEs (OSV)โ 60 pts
Trusted Publishing (OIDC)โ 50 pts
Snyk / Audit Linkโ 40 pts
HTTPS Repositoryโ 50 pts
4. Documentation, SEO & Ecosystem155 / 200 โพ
Structured READMEโ 60 pts
Read the Docsโ 50 pts
Django Packagesโ 0 pts
Website / Technical Articlesโ 45 pts
5. Engineering, CI & Quality165 / 200 โพ
Automated Testsโ 65 pts
GitHub Actions CIโ 65 pts
CHANGELOG.mdโ 35 pts
Env & Lockfile (uv/rye/poetry/pdm/hatch)โ 0 pts
README & DOCS
PyPI Metadata v0.4.0
Official Documentation & Usage Guide โ lightfall
Show full original documentation (English README) โพ
Lightfall
A modern, unified control system for synchrotron lightsource facilities that provides facility-wide consistency with beamline-specific customization.
Overview
Lightfall is designed for the Advanced Light Source (ALS) facility, providing:
- Unified Interface: Consistent look-and-feel across beamlines with skinnable themes
- API-First Architecture: Modular, extensible design enabling automation and integration
- LLM/AI Integration: Claude-powered chatbot for natural language control and assistance
- FAIR-Compliant Data Management: Integration with Tiled for data cataloging and access
- Secure Remote Operations: Full remote operation capability with fine-grained access control
Features
User Interface
- Progressive disclosure: user panels with expert panels behind authorization
- Scripting panel with Jupyter-lab style interface
- LLM panel for controlling panels via natural language
- GUI Builder for drag-and-drop interface creation
- Persistent user preferences saved across sessions
Device Management
- Centralized device catalog with lifecycle tracking
- Real-time monitoring via EPICS Channel Access
- Version-controlled device configurations
- Rich high-level controls integrated into workflows
Data Acquisition
- Bluesky-based acquisition engine
- Flexible signal/stream selection with real-time visualization
- Interactive, pausable, restartable acquisition
- Automatic data persistence to Tiled catalog
Data Browser
- Browse and search data stored in Tiled server
- Filter by date range, plan type, exit status
- Pagination for large datasets
- Click/double-click signals for integration with analysis tools
Installation
pip install lightfall
Development Installation
# Clone the repository
git clone https://github.com/als-controls/lightfall.git
cd lightfall
# Create and activate virtual environment
python -m venv .venv
.venv\Scripts\activate # Windows
# or
source .venv/bin/activate # Unix
# Install in development mode with dev dependencies
pip install -e ".[dev]"
Lightfall depends on lightfall-utils (installed from PyPI like any other dependency). To co-develop both packages, install a sibling checkout in editable mode on top:
git clone https://github.com/als-controls/lightfall-utils.git ../lightfall-utils
pip install -e ../lightfall-utils
Running the Application
lightfall
Configuration
Lightfall uses a layered configuration system:
- System defaults - Built-in defaults
- Site configuration - Facility-wide settings
- User preferences - Personal customizations
Configuration files are stored in:
- Windows:
%APPDATA%\lightfall\ - Linux/Mac:
~/.config/lightfall/
Architecture
Lightfall is built on:
- PySide6 - Qt for Python GUI framework
- Bluesky - Data acquisition framework
- Ophyd - Device abstraction layer
- Tiled - Data catalog and access
- EPICS - Control system communication
Plugin System
Lightfall supports plugins for:
- Panels - Custom UI panels
- Settings - Preference pages
- Status Bar - Status indicators
- Engines - Acquisition backends
- Plans - Scan procedures
Development
Running Tests
pytest
Code Quality
# Linting
ruff check src tests
# Type checking
mypy src
Project Structure
lightfall/
โโโ src/lightfall/
โ โโโ acquire/ # Data acquisition engine (Bluesky RunEngine, plans)
โ โโโ auth/ # Authentication & authorization
โ โโโ claude/ # Embedded Claude agent integration
โ โโโ config/ # Configuration management
โ โโโ core/ # Core application classes
โ โโโ devices/ # Device catalog & backends
โ โโโ epics/ # EPICS (caproto) widgets & helpers
โ โโโ exporter/ # Data exporter CLI
โ โโโ ipc/ # Inter-process communication (NATS)
โ โโโ logbook/ # Logbook client
โ โโโ pipelines/ # Pipeline client
โ โโโ plugins/ # Plugin system
โ โโโ services/ # Application services (Tiled, CA tunnel, etc.)
โ โโโ settings/ # User-portable settings client
โ โโโ ui/ # User interface
โ โ โโโ panels/ # Panel implementations
โ โ โโโ widgets/ # Reusable widgets
โ โ โโโ preferences/ # Settings UI
โ โ โโโ theme/ # Theming system
โ โโโ utils/ # Utilities
โ โโโ visualization/ # Plotting & live visualization
โโโ tests/ # Test suite