Skip to main content

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))"
python -c "import simparse; print(simparse.scan(['/path/to/history'], summary=True))"

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

Metadata

Release files for simparse 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simparse 0.3.3
File Size Uploaded
simparse-0.3.3.tar.gz 41.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for simparse 0.3.3
File Interpreter ABI Platform
simparse-0.3.3-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
simparse-0.3.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
simparse-0.3.3-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details

Total release size: 3.2 MB

Release files / simparse-0.3.3.tar.gz

Download URL simparse-0.3.3.tar.gz
Size 41.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8a1d902354355b9345ff79bbc8ff52570c9c57eb1041d22bca3aff306ea67fe9
BLAKE2b-256 checksum
How to use checksums
815478fc954c313ec414fdd1cffb3a5d7c98a85539e76edbd83884d035e8aab0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / simparse-0.3.3-cp39-abi3-win_amd64.whl

Download URL simparse-0.3.3-cp39-abi3-win_amd64.whl
Size 975.3 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
94e849abcea7d28e90d8de9dcf8dbd0cc3baf61f15993dfd8d3e911242298f65
BLAKE2b-256 checksum
How to use checksums
297f727146a082ee3a6bb1812f1abee47bc72a2840f6ff1e23a1ce28bcba1775
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / simparse-0.3.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL simparse-0.3.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
e13b2a4118c5e64781da137f7b98de8913821d250a794aee0b223365ce735c98
BLAKE2b-256 checksum
How to use checksums
24410d99442bc9b27782a2d1eb4968bae6d2207f9acd2b3807fa4f76b39f5d73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / simparse-0.3.3-cp39-abi3-macosx_11_0_arm64.whl

Download URL simparse-0.3.3-cp39-abi3-macosx_11_0_arm64.whl
Size 981.0 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0ca797064d723a5bac2b4c11cce3636882ae86b1d36d6903ea02652e6759885f
BLAKE2b-256 checksum
How to use checksums
b7a47bda219094e9337c4795f792dd1032c27db42f02b24ebafba60cf929d2fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.3.3 This release

4 release files

0.3.2

4 release files

0.3.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page