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 |
| Ansys Electronics Desktop (HFSS / Icepak) | .aedt, .aedtz |
| Ansys Mechanical | .mechdb, .mechdat |
| Icepak Classic | .tzr |
| Simcenter FloTHERM | .pack, .xml, .floxml |
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 -- inspect /path/to/thermal-model.xml --json --summary
cargo run -p simparse-cli -- inspect /path/to/model.mph --json --summary
cargo run -p simparse-cli -- scan /path/to/history --jsonl
Use --summary for a deterministic, bounded preflight view. It reports total
counts with capped samples and explicit parser limitations. Omit it when the
full shallow inventory is needed.
FloXML files commonly use the generic .xml suffix. simparse checks their
root element, so directory scans include <xml_case> and <sm_xml_case> files
while skipping unrelated XML.
Python
maturin develop
python -c "import simparse; print(simparse.inspect('/path/to/model.inp', summary=True))"
Benchmark
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simparse-0.3.1.tar.gz.
File metadata
- Download URL: simparse-0.3.1.tar.gz
- Upload date:
- Size: 41.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d5b581d352a77e3b316de8f462fc29a473e9b48090d83e841d4b4eef901196f
|
|
| MD5 |
771e0e1da2c9e323babf0d1f78a68e5e
|
|
| BLAKE2b-256 |
fdfb8fd9e602f31b6f5d8301360c2bf86503cd558c974b2b6c9fda5e155bd564
|
File details
Details for the file simparse-0.3.1-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: simparse-0.3.1-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 975.1 kB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe003b9ca09d0518fd3e125047d1c3b8c5d425dc406045d3b702f06baa370a4f
|
|
| MD5 |
4acd40814532a3f7fd274ad69d1dbfe7
|
|
| BLAKE2b-256 |
46a49f55524a2f62b150ee92b9af021c391fb01f5731da5f5e7234bc1f311c8e
|