gsim-py
Python bindings for gsim-core: the
schematic document model, its validation rules, and the compile registry that turns a
document into a netlist.
This is the compiled layer. Most people want
gsim-tools instead, which is the
ergonomic Python API built on top of it:
=
=
=
=
=
* RC low-pass -- generated by gsim-core 0.1.0 from model 'rc'
Vin n_R1_p1 0 5
R1 n_R1_p1 n_C1_p1 1000
C1 n_C1_p1 0 1e-6
Why the model is in Rust
One implementation, three front ends. The same document model, the same port-compatibility rules and the same compile registry back the schematic editor (through WASM), this Python binding, and the engine itself — rather than a TypeScript copy and a Python copy that drift apart and disagree about which document is valid.
Building
MIT licensed.