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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simparse-0.3.2.tar.gz (41.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

simparse-0.3.2-cp39-abi3-win_amd64.whl (984.2 kB view details)

Uploaded CPython 3.9+Windows x86-64

simparse-0.3.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

simparse-0.3.2-cp39-abi3-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file simparse-0.3.2.tar.gz.

File metadata

  • Download URL: simparse-0.3.2.tar.gz
  • Upload date:
  • Size: 41.9 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

Hashes for simparse-0.3.2.tar.gz
Algorithm Hash digest
SHA256 cc7b907226a919bc1e681f300d9b36b232b293b158854c041a06225d0d98b27e
MD5 5525f41387c2af7c750fcc86a58430ee
BLAKE2b-256 6400eda560b639c67b43c4511bbed178fd4898460f7707e854155c8ca6e2e791

See more details on using hashes here.

File details

Details for the file simparse-0.3.2-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: simparse-0.3.2-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 984.2 kB
  • Tags: CPython 3.9+, 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

Hashes for simparse-0.3.2-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 601470daf0a67c2354222bd480df783ed39ba2d21897867151cca3f7d42d5d25
MD5 3934a39276ac7a28a50b0b58b9a8b56e
BLAKE2b-256 9c0903ec2344d9258095c7ee3224e7db55ed2ddaf6b78099dcfb6a213289abf0

See more details on using hashes here.

File details

Details for the file simparse-0.3.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: simparse-0.3.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.9+, manylinux: glibc 2.17+ 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

Hashes for simparse-0.3.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c4f5d263990f8996fa448d2f008e347a08aa02ee91a15962e5389c29df21b419
MD5 a1d24dee2c355722f4b9ceba3585c13c
BLAKE2b-256 3678931d81c1e7bef1a82b947bef574947b48b8f2bb27874f83dffe62b30c4a0

See more details on using hashes here.

File details

Details for the file simparse-0.3.2-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: simparse-0.3.2-cp39-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.9+, macOS 11.0+ ARM64
  • 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

Hashes for simparse-0.3.2-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 54a360440b27f9cdae945abc5c79c4eb014a0e27bae1bf7a55344ad5a20a80a0
MD5 623c33ee1e7b532ff9c37afaea1c5c41
BLAKE2b-256 fdcbe9f38085801c819b85def92de2947b89cb9848d18867b7991d602ce85d71

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.2 This release

4 files

0.3.1

2 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