github Lexonight1/thermalright-trcc-linux v3.0.0

latest releases: v9.6.5, v9.6.4, v9.6.3...
3 months ago

v3.0.0 — Hexagonal Architecture

Major architectural refactor to hexagonal (ports & adapters) pattern. All business logic now lives in the services layer, shared by GUI, CLI, and API adapters.

New

  • Services layer — 7 service classes (Device, Display, Image, LED, Media, Overlay, Theme) + SystemService
  • CLI Typer — migrated from argparse to Typer with OOP command classes
  • REST API — FastAPI adapter (optional [api] extra)
  • FontResolver — extracted font resolution infrastructure from overlay service
  • trcc doctor — dependency and udev rule health check

Refactored

  • overlay_renderer merged into services/overlay
  • media_player stripped to pure decoders (no playback state)
  • Module renames for consistency: paths→data_repository, sensor_enumerator→system_sensors, sysinfo_config→system_config, cloud_downloader→theme_cloud, driver_lcd→device_lcd
  • Dead code removed: theme_io, constants, device_base, device_implementations

Stats

  • 2081 tests across 29 files
  • 80 files changed, -1146 net lines (cleaner, smaller)
  • ruff clean, pyright 0 errors

Install

pip install trcc-linux==3.0.0

Don't miss a new thermalright-trcc-linux release

NewReleases is sending notifications on new releases.