Camera backend abstraction wrapping fswebcam/ffmpeg/libcamera-still via subprocess, with DemoCamera fallback generating valid JPEG from raw bytes. Capture pipeline writes JPEG + JSON sidecar always, optional FITS (astropy) and EXIF (Pillow) when available. Thread-safe orchestrator with session tracking, sequence numbering, and date-based output directories. Trigger system: manual capture, configurable interval timer, and pass event detection (AOS/TCA/LOS) with 0.5-degree TCA hysteresis. PassEventDetector runs in the Craft tracking loop, fires callbacks to the camera overlay. F6 overlay follows the F5 ConsoleOverlay pattern — ModalScreen with install_screen persistence. Status panel, scrollable capture log, interval controls, and AOS/TCA/LOS toggle buttons. Tagline: "a generic AZ/EL positioner that doesn't care about wavelength" added to TUI header subtitle. 51 new tests (77 total passing).
41 lines
831 B
TOML
41 lines
831 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "birdcage-tui"
|
|
version = "2026.02.13"
|
|
description = "Textual TUI for Winegard Carryout G2 satellite dish control"
|
|
license = "MIT"
|
|
requires-python = ">=3.11"
|
|
authors = [{name = "Ryan Malloy", email = "ryan@supported.systems"}]
|
|
dependencies = [
|
|
"birdcage",
|
|
"textual>=1.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
camera = ["Pillow>=10.0", "astropy>=6.0"]
|
|
|
|
[project.scripts]
|
|
birdcage-tui = "birdcage_tui.app:main"
|
|
|
|
[tool.uv.sources]
|
|
birdcage = { path = "..", editable = true }
|
|
|
|
[tool.ruff]
|
|
target-version = "py311"
|
|
src = ["src"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B", "SIM"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/birdcage_tui"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=9.0.2",
|
|
"pytest-asyncio>=1.3.0",
|
|
]
|