How taldrain/sopic works
Project type and purpose
• This is a Python GUI library (“sopic”) for defining and running test-station workflows (stations composed of ordered steps) with visualization, settings, and logging.
• It also contains a separate Remix/React-based documentation website under the “website” folder.
File structure
• Top-level:
• sopic/ → core library
• examples/ → demonstration scripts
• tests/ → unit tests
• assets/ → images for README and docs
• website/ → standalone Remix application for docs
• Inside sopic/:
• gui/ → Qt-style widgets (MainWindow, logger, settings dialog, step viewer, status displays)
• station.py → Station base class (DAG orchestration, run management)
• step.py → Step base class (start(), OK/KO result methods)
• utils/ → supporting modules (dag traversal, logger, settings persistence)
• The README explains the Station-Step DAG pattern, configuration via settings, and GUI keybinds.
README for additional insights
• The core API consists of Station and Step classes, with a DAG mapping keys to (StepClass, child keys).
• Examples show how users subclass and wire everything together.