simparse 0.3.2__cp39-abi3-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of simparse might be problematic. Click here for more details.

simparse/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ from ._simparse import inspect, scan
2
+
3
+ __all__ = ["inspect", "scan"]
simparse/__init__.pyi ADDED
@@ -0,0 +1,27 @@
1
+ from typing import Any, Literal
2
+
3
+ Format = Literal[
4
+ "auto",
5
+ "comsol-mph",
6
+ "abaqus-inp",
7
+ "fluent-hdf5",
8
+ "hfss-aedt",
9
+ "ansys-mechanical",
10
+ "icepak-tzr",
11
+ "flotherm-floxml",
12
+ "flotherm-pack",
13
+ ]
14
+
15
+ def inspect(
16
+ path: str,
17
+ format: Format = "auto",
18
+ include_paths: bool = False,
19
+ summary: bool = False,
20
+ ) -> dict[str, Any]: ...
21
+
22
+ def scan(
23
+ paths: list[str],
24
+ recursive: bool = True,
25
+ include_paths: bool = False,
26
+ summary: bool = False,
27
+ ) -> list[dict[str, Any]]: ...
simparse/_simparse.pyd ADDED
Binary file
simparse/py.typed ADDED
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,87 @@
1
+ Metadata-Version: 2.4
2
+ Name: simparse
3
+ Version: 0.3.2
4
+ Classifier: Development Status :: 3 - Alpha
5
+ Classifier: License :: OSI Approved :: Apache Software License
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: Programming Language :: Rust
8
+ Classifier: Topic :: Scientific/Engineering
9
+ License-File: LICENSE
10
+ Summary: Lightweight metadata scanner for simulation project and case files.
11
+ Author: svd-ai-lab
12
+ License-Expression: Apache-2.0
13
+ Requires-Python: >=3.9
14
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
15
+
16
+ # simparse
17
+
18
+ `simparse` is a lightweight Rust and Python scanner for simulation project and
19
+ case metadata.
20
+
21
+ ## Supported formats
22
+
23
+ | Format | Files |
24
+ |---|---|
25
+ | COMSOL | `.mph` |
26
+ | Abaqus | `.inp`, `.inc` |
27
+ | Fluent | `.cas.h5`, `.msh.h5` |
28
+ | Ansys Electronics Desktop (HFSS / Icepak) | `.aedt`, `.aedtz` |
29
+ | Ansys Mechanical | `.mechdb`, `.mechdat` |
30
+ | Icepak Classic | `.tzr` |
31
+ | Simcenter FloTHERM | `.pack`, `.xml`, `.floxml` |
32
+
33
+ ## Design
34
+
35
+ `simparse` is meant to compose with existing simulation tools, not replace them.
36
+ It focuses on lightweight agent workflows: metadata, inventory, quick directory
37
+ scans, and deciding when a heavier vendor or Python tool should be called next.
38
+ See [tool design principles](docs/design-principles.md).
39
+
40
+ ## CLI
41
+
42
+ ```powershell
43
+ cargo run -p simparse-cli -- inspect /path/to/model.mph --json
44
+ cargo run -p simparse-cli -- inspect /path/to/thermal-model.xml --json --summary
45
+ cargo run -p simparse-cli -- inspect /path/to/model.mph --json --summary
46
+ cargo run -p simparse-cli -- scan /path/to/history --jsonl
47
+ ```
48
+
49
+ Use `--summary` for a deterministic, bounded preflight view. It reports total
50
+ counts with capped samples and explicit parser limitations. Omit it when the
51
+ full shallow inventory is needed.
52
+
53
+ FloXML files commonly use the generic `.xml` suffix. `simparse` checks their
54
+ root element, so directory scans include `<xml_case>` and `<sm_xml_case>` files
55
+ while skipping unrelated XML.
56
+
57
+ ## Python
58
+
59
+ ```powershell
60
+ maturin develop
61
+ python -c "import simparse; print(simparse.inspect('/path/to/model.inp', summary=True))"
62
+ python -c "import simparse; print(simparse.scan(['/path/to/history'], summary=True))"
63
+ ```
64
+
65
+ ## Benchmark
66
+
67
+ ![Public benchmark bar chart](artifacts/public-benchmark.svg)
68
+
69
+ ```powershell
70
+ python benchmarks/compare.py
71
+ ```
72
+
73
+ This benchmark models one practical agent path: call one external tool to scan a
74
+ group of public simulation artifacts. The bars include process startup and
75
+ library import cost. The JSON artifact also records an in-process Python
76
+ baseline for context; those numbers are useful for library-level comparison, but
77
+ are not the primary agent tool-call scenario.
78
+
79
+ The benchmark downloads public URLs listed in `benchmarks/public-artifacts.json`
80
+ into `target/` and writes `artifacts/public-benchmark.json` plus
81
+ `artifacts/public-benchmark.svg`. Vendor-native parser timings are not included
82
+ because they require locally licensed software or APIs.
83
+
84
+ ## License
85
+
86
+ Apache-2.0
87
+
@@ -0,0 +1,9 @@
1
+ simparse/__init__.py,sha256=a7URZtcFhe0kh88WGcbGuOIRyjFeVjdShJIYVk77i0I,68
2
+ simparse/__init__.pyi,sha256=MCQz1ze9dZvmfsDquiTgGoEEZAz-BIHYm2SZkpXSGvI,539
3
+ simparse/_simparse.pyd,sha256=1MRtLZWi1Zz36KAilqFOwqzuheK0UciQef9jlpMXEvs,2250752
4
+ simparse/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
5
+ simparse-0.3.2.dist-info/METADATA,sha256=n0c-rJliT2Fx8UAU44OxP2YIsu89014L0y8RTT92B7Q,3033
6
+ simparse-0.3.2.dist-info/WHEEL,sha256=xe4_tbg8wYdeh4O7nLbnWckzIQtCR4nODDgwke_TKy8,95
7
+ simparse-0.3.2.dist-info/licenses/LICENSE,sha256=Ar_0C_UoE8lfCUXuFBx4l84Rl4hKtJHTJRCYaFii7e8,806
8
+ simparse-0.3.2.dist-info/sboms/simparse-py.cyclonedx.json,sha256=3AQlfms2PCnzArcQhkSPjBIO1LxNkcuhVNjhWs6Fdh8,128939
9
+ simparse-0.3.2.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.15.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-abi3-win_amd64
@@ -0,0 +1,19 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ https://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ Copyright 2026 svd-ai-lab
8
+
9
+ Licensed under the Apache License, Version 2.0 (the "License");
10
+ you may not use this file except in compliance with the License.
11
+ You may obtain a copy of the License at
12
+
13
+ https://www.apache.org/licenses/LICENSE-2.0
14
+
15
+ Unless required by applicable law or agreed to in writing, software
16
+ distributed under the License is distributed on an "AS IS" BASIS,
17
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ See the License for the specific language governing permissions and
19
+ limitations under the License.