Skip to main content

sim

sim reads existing CAE files and turns them into structured text an agent can use — without launching the solver.

uv init                  # only if this is not already a uv project
uv add sim-cli-core
uv run sim --json scan ./historical-cases

One call covers a whole folder. No solver, no license server, no vendor SDK. The parsing engine scans roughly 4–20× faster than an equivalent Python script (benchmark). Output is bounded so a large scan fits in an agent's context, and absolute paths are redacted by default.

$ uv run sim --json scan ./cases/beam.inp --full
{"schema_version": "sim.scan/v1",
 "assets": [{"file_name": "beam.inp", "format": "abaqus-inp",
   "summary": {"data": {"title": "Cantilever beam thermal-stress",
     "node_count": 3, "element_count": 1, "materials": ["STEEL"],
     "steps": ["STATIC"], "boundary_keywords": ["BOUNDARY"],
     "load_keywords": ["CLOAD"], "output_keywords": ["NODE PRINT"]}}}]}

(abridged — the full envelope also carries ok, engine, request and a roll-up summary.)

Supported files

Solver Files --format id
COMSOL .mph comsol-mph
Abaqus .inp, .inc abaqus-inp
Fluent .cas.h5, .msh.h5 fluent-hdf5
Ansys Electronics Desktop (HFSS / Icepak) .aedt, .aedtz hfss-aedt
Ansys Mechanical .mechdb, .mechdat ansys-mechanical
Icepak Classic .tzr icepak-tzr
Simcenter FloTHERM .pack, .xml, .floxml flotherm-pack, flotherm-floxml
Simulink .slx, .mdl simulink-slx, simulink-mdl
MATLAB data .mat matlab-mat

What each format reports: docs/simparse.md.

Export saved COMSOL data

uv run sim export mesh model.mph --sequence mesh1 -o mesh.vtu
uv run sim --json export solution solved.mph --list
uv run sim export solution solved.mph --sequence sol1 --solnum 1 -o solution.json

These commands read saved MPH data offline. The solution JSON contains the stored vector in solver order and its metadata. See the export formats.

Options

Flag Effect
--full Complete parser result instead of the bounded summary (small input sets)
--include-paths Keep absolute source paths
--limit N, --no-recursive Bound a directory walk
--format ID Force a format for an explicitly named file

Every command takes --json and returns a stable envelope with a closed error-code enum. uv run sim --json describe prints the full command manifest.

Docs

License

Apache-2.0 — see LICENSE. Solvers are not bundled; vendor and trademark notes are in NOTICE.

Metadata

Release files for sim-cli-core 0.5.0

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

Source distribution (sdist)

Source distribution for sim-cli-core 0.5.0
File Size Uploaded Provenance Actions
sim_cli_core-0.5.0.tar.gz 96.0 kB Without provenance Details for sim_cli_core-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sim-cli-core 0.5.0
File Interpreter ABI Platform Actions
sim_cli_core-0.5.0-py3-none-any.whl Python 3 none any Details for sim_cli_core-0.5.0-py3-none-any.whl

Total release size: 206.7 kB

Release files / sim_cli_core-0.5.0.tar.gz

Download URL sim_cli_core-0.5.0.tar.gz
Size 96.0 kB
Tags Source
SHA-256 checksum
How to use checksums
122777e4aa8ff89f3570478b7db7b16537aedde5afe36355aadaa22d3451b5b5
BLAKE2b-256 checksum
How to use checksums
c75d2e1fedcccfce7324e80f78d6a75bb7859bfc1630ecb2328837ed859c4bb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / sim_cli_core-0.5.0-py3-none-any.whl

Download URL sim_cli_core-0.5.0-py3-none-any.whl
Size 110.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad924a7aba5674de312e2011b31301a2ff0f9f97a95bbb64dabaac094a4fe37d
BLAKE2b-256 checksum
How to use checksums
fbcc2e87c4f9270e0f8b214f37fbf1d7b76f55f6339443af3893171f0245eb19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for sim-cli-core 0.5.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.

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