Skip to content

Repository files navigation

simparse

simparse is a lightweight Rust and Python scanner for simulation project and case metadata.

Supported formats

Format Files
COMSOL .mph
Abaqus .inp, .inc
Fluent .cas.h5, .msh.h5
HFSS / AEDT .aedt, .aedtz

Design

simparse is meant to compose with existing simulation tools, not replace them. It focuses on lightweight agent workflows: metadata, inventory, quick directory scans, and deciding when a heavier vendor or Python tool should be called next. See tool design principles.

CLI

cargo run -p simparse-cli -- inspect /path/to/model.mph --json
cargo run -p simparse-cli -- scan /path/to/history --jsonl

Python

maturin develop
python -c "import simparse; print(simparse.inspect('/path/to/model.inp'))"

Benchmark

Public benchmark bar chart

python benchmarks/compare.py

This benchmark models one practical agent path: call one external tool to scan a group of public simulation artifacts. The bars include process startup and library import cost. The JSON artifact also records an in-process Python baseline for context; those numbers are useful for library-level comparison, but are not the primary agent tool-call scenario.

The benchmark downloads public URLs listed in benchmarks/public-artifacts.json into target/ and writes artifacts/public-benchmark.json plus artifacts/public-benchmark.svg. Vendor-native parser timings are not included because they require locally licensed software or APIs.

License

Apache-2.0

About

Lightweight Rust and Python scanner for simulation project metadata

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages