18Subpackages
162Python Modules
54Rust Modules
20,784Rust LOC

Python Subpackages

PackageModulesResponsibility
upde2512 UPDE engine variants (Kuramoto, Stuart-Landau, Inertial, Swarmalator, Simplicial, Stochastic, Geometric, Delay, Ott-Antonsen, Hypergraph, Variational, Market)
monitor2019 dynamical observers: R, PLV, PAC, chimera, Lyapunov, entropy, TE, EVS, sleep, winding, ITPC, PID, NPE, STL, Poincaré, HCP, psychedelic, session gate
adapters1812 bridges: OpenTelemetry, Modbus TLS, Redis, Quantum, Fusion, Plasma, Prometheus, gRPC, WebSocket, MQTT, Nengo, Lava
nn14JAX differentiable: KuramotoLayer, StuartLandauLayer, BOLD generator, Reservoir, UDE, Inverse, OIM, SAF spectral loss
coupling12Knm construction, Hodge decomposition, plasticity, TE-adaptive, spectral, connectome, prior
ssgf8Self-Stabilising Gauge Field: carrier, ethical constraints, identity costs
supervisor8Regime manager (NOMINAL/DEGRADED/CRITICAL), policy engine, MPC, Petri nets, coherence projector
oscillators7P/I/S phase extractors: Hilbert, event, ring, graph, wavelet, zero-crossing
autotune6Frequency ID, coupling estimation, phase extraction, SINDy data-driven discovery
binding5YAML spec loading, validation, schema enforcement
grpc_gen5Protocol buffer stubs for gRPC service
drivers4External forcing across P/I/S channels
actuation4Control output mapping with safety constraints
visualization4D3 network graph, Three.js torus, matplotlib
imprint3History-dependent coupling modulation
audit3SHA256-chained JSONL audit trail + replay
reporting2Coherence plots and PDF reporting
apps1QueueWaves FastAPI cascade detector

Rust Kernel (spo-kernel)

5 Rust crates. PyO3 cdylib + WebAssembly target. Pure Python fallback guaranteed.

CrateModulesPurpose
spo-engine53All 12 UPDE engines, coupling, monitors, SSGF, autotune in Rust
spo-oscillators5Phase extraction (P/I/S channels)
spo-supervisor6Regime manager, policy, coherence projector
spo-types4Shared config and state types
spo-ffi1PyO3 bindings (cdylib)
spo-wasmWebAssembly target (browser demo)

Optional Dependencies

[rust]
spo-kernel. 2.4×–96× acceleration. Auto-delegates when available.
[nn]
JAX + Equinox + Optax. Differentiable Kuramoto, GPU, JIT.
[quantum]
scpn-quantum-control. Quantum XY Hamiltonian bridge.
[plasma]
scpn-control. Plasma/MHD control bridge.
[fusion]
scpn-fusion-core. Tokamak equilibrium bridge.
[queuewaves]
FastAPI + uvicorn + WebSocket. QueueWaves cascade detection app.
[otel]
OpenTelemetry export. Trace/metric pipeline for production.
[full]
Everything: gRPC, Modbus, neurolib, ripser, rtamt, diffrax.