Python Modules¶
SmrtHub's Python surface lives under SmrtApps/PythonApp. Each module entry below points at the owning README so you can verify architecture, configuration, and extension hooks without chasing stale copies.
PythonApp (python_core)¶
Top-level package that bootstraps the runtime, wires logging/config defaults, and coordinates service startup for every Python-managed workflow.
Config¶
Configuration seed and schema helpers that mirror Smrt.Config, including path resolution, default rollouts, and atomic updates for Python consumers.
Runtime¶
Runtime orchestration layer that drives clipboard ingestion, routes file fragments through the canonical Documents source tree, emits encounter sidecars, manages job queues, heartbeat publishing, and status surfaces for the Python side of SmrtHub.
Networking¶
Flask-based bridge that exposes HTTP endpoints, browser listeners, and interop shims so Python components stay reachable from C# hosts.
SmrtDetect¶
Detection pipeline built on Magika and heuristics that classifies clipboard sources, recent folders, and file contexts for downstream automation.
SmrtSpace Management¶
Workspace bootstrap and metadata management layer responsible for SmrtSpace directory layouts, persistence, and cross-runtime status exports.
FlowEnhance¶
Automation hooks that drive SmrtSearch and clipboard-driven browser actions, including hotkey listener glue shared with TriggerManager.
Utils¶
Shared utilities covering logging adapters, filesystem helpers, heartbeats, templating, and data access that the rest of the Python packages reuse.