Skip to main content

simparse

simparse is a fast, lightweight scanner for simulation project and case metadata, implemented in Rust with a Python API. It is built for agent and automation workflows: inventory a directory of models, preflight a case, and decide when a heavier vendor tool should be called next.

Install

pip install simparse

Prebuilt wheels are available for Windows x86_64, macOS arm64 and Linux x86_64 (manylinux2014), Python 3.9+.

Usage

import simparse

# One file. Format is detected from the suffix and content.
info = simparse.inspect("/path/to/model.mph", summary=True)
print(info["format"], info["ok"])

# Directories and files, recursively.
for entry in simparse.scan(["/path/to/projects"], summary=True):
    print(entry["file_name"], entry["format"])

inspect(path, format="auto", include_paths=False, summary=False) returns one result dict. scan(paths, recursive=True, include_paths=False, summary=False) returns one result per supported file found.

  • summary=True gives a deterministic, bounded preflight view: total counts with capped samples and explicit parser limitations. Leave it off for the full shallow inventory.
  • include_paths=True adds full source paths to the results. By default, results carry file names only.

Each result also has an ir field: a compact inspection manifest (CAD dialect for STEP, CAE dialect for simulation formats) that describes observed metadata. Geometry, meshes and result data stay in the source files.

Supported formats

Format Files What is reported
STEP Part 21 .step, .stp Schema names, entity-type counts, product names, length-unit declarations
COMSOL .mph File version, model info and tree, used licenses, binary block inventory
Abaqus .inp, .inc Include graph, node/element counts, materials, sections, steps, loads, BCs, output requests
Fluent .cas.h5, .msh.h5 HDF5 object tree, dataset shapes, zone, boundary and settings hints
Ansys Electronics Desktop (HFSS / Icepak) .aedt, .aedtz Design and solution types, solved status, variables, setups, sweeps, ports, boundaries, materials, mesh operations, Icepak thermal settings
Ansys Mechanical .mechdb, .mechdat Release, analyses, bodies, materials, contacts, loads, results, geometry sources
Icepak Classic .tzr Project name, entry and file counts, sizes, job and model payload presence
Simcenter FloTHERM .pack, .xml, .floxml Project archive inventory; FloXML model and solve options, grid, attributes, geometry, heat sources, domain boundaries
Simulink .slx, .mdl Model kind, release, block and library inventory, subsystems, Stateflow, root ports, solver settings
MATLAB data .mat Variable names, classes, dimensions and flags for Level 4, v5–v7 and v7.3 files

Files are read shallowly and streamed where possible, so large archives and decks scan quickly. FloXML files often use the generic .xml suffix; simparse identifies them by their root element, so directory scans pick up FloXML projects among other XML files.

License and issues

simparse is free to use, including commercial use, under the proprietary license in the LICENSE file shipped with each wheel. Copyright 2026 SVD Lab. Third-party components are listed with their licenses in THIRD_PARTY_NOTICES.

Report bugs and requests at https://github.com/svd-ai-lab/sim-cli/issues with the simparse label.

Metadata

Release files for simparse 0.4.0

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

Built distributions (wheels)

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

Total release size: 3.5 MB

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

Download URL simparse-0.4.0-cp39-abi3-win_amd64.whl
Size 1.1 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
3c08faa74c02a32524a0604d1f308bcedd23664ab7ea9b0653264f100eea643f
BLAKE2b-256 checksum
How to use checksums
1d2defaac00c686275fc45169403d6d656a03e5f213fe57d1a25939d0c947fef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

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

Download URL simparse-0.4.0-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
e9c8695370e42f3b14d968975ed25c131ebe4c7e989bb61b69ee7eace4cad8e7
BLAKE2b-256 checksum
How to use checksums
4b45b695233268d3adcd6b0683e8f9230def0a3e68d6756a98e5f7531ca85043
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

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

Download URL simparse-0.4.0-cp39-abi3-macosx_11_0_arm64.whl
Size 1.2 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
14b599292e1fb7ca26476eb7f8b359665ec05483b274683fa7423ca09ee7241f
BLAKE2b-256 checksum
How to use checksums
9a312fe528dae2496b539f99db763bb2b324708fb223504297181b5293b18616
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Security for simparse 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.0 This release

3 release files No provenance

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