sim-cli-core 0.4.2__py3-none-any.whl → 0.4.3__py3-none-any.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.
- sim_cli_core-0.4.3.dist-info/METADATA +113 -0
- {sim_cli_core-0.4.2.dist-info → sim_cli_core-0.4.3.dist-info}/RECORD +6 -6
- {sim_cli_core-0.4.2.dist-info → sim_cli_core-0.4.3.dist-info}/WHEEL +1 -1
- {sim_cli_core-0.4.2.dist-info → sim_cli_core-0.4.3.dist-info}/licenses/NOTICE +5 -0
- sim_cli_core-0.4.2.dist-info/METADATA +0 -163
- {sim_cli_core-0.4.2.dist-info → sim_cli_core-0.4.3.dist-info}/entry_points.txt +0 -0
- {sim_cli_core-0.4.2.dist-info → sim_cli_core-0.4.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: sim-cli-core
|
|
3
|
+
Version: 0.4.3
|
|
4
|
+
Summary: Agent-native simulation asset parsing and CAD/CAE runtime
|
|
5
|
+
Project-URL: Homepage, https://github.com/svd-ai-lab/sim-cli
|
|
6
|
+
Project-URL: Repository, https://github.com/svd-ai-lab/sim-cli
|
|
7
|
+
Project-URL: Issues, https://github.com/svd-ai-lab/sim-cli/issues
|
|
8
|
+
Project-URL: Documentation, https://github.com/svd-ai-lab/sim-cli#readme
|
|
9
|
+
Project-URL: Changelog, https://github.com/svd-ai-lab/sim-cli/blob/main/CHANGELOG.md
|
|
10
|
+
Author: SVD Lab
|
|
11
|
+
License-Expression: Apache-2.0
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
License-File: NOTICE
|
|
14
|
+
Keywords: agent,agentic,cad,cae,cae-files,cfd,fea,llm,parsing,simulation
|
|
15
|
+
Classifier: Development Status :: 3 - Alpha
|
|
16
|
+
Classifier: Intended Audience :: Developers
|
|
17
|
+
Classifier: Intended Audience :: Science/Research
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Topic :: Scientific/Engineering
|
|
24
|
+
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
25
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
26
|
+
Requires-Python: >=3.10
|
|
27
|
+
Requires-Dist: click>=8.0
|
|
28
|
+
Requires-Dist: fastapi>=0.115
|
|
29
|
+
Requires-Dist: httpx>=0.28
|
|
30
|
+
Requires-Dist: lxml>=5.0
|
|
31
|
+
Requires-Dist: pillow>=10
|
|
32
|
+
Requires-Dist: psutil>=5.9; sys_platform == 'win32'
|
|
33
|
+
Requires-Dist: pywinauto>=0.6.8; sys_platform == 'win32'
|
|
34
|
+
Requires-Dist: pyyaml>=6.0
|
|
35
|
+
Requires-Dist: simparse<0.6,>=0.5.0
|
|
36
|
+
Requires-Dist: tomli>=2.0; python_version < '3.11'
|
|
37
|
+
Requires-Dist: uvicorn>=0.34
|
|
38
|
+
Provides-Extra: dev
|
|
39
|
+
Requires-Dist: pytest>=8.0; extra == 'dev'
|
|
40
|
+
Requires-Dist: ruff>=0.4; extra == 'dev'
|
|
41
|
+
Description-Content-Type: text/markdown
|
|
42
|
+
|
|
43
|
+
# sim
|
|
44
|
+
|
|
45
|
+
**`sim` reads existing CAE files and turns them into structured text an agent
|
|
46
|
+
can use — without launching the solver.**
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
uv init # only if this is not already a uv project
|
|
50
|
+
uv add sim-cli-core
|
|
51
|
+
uv run sim --json scan ./historical-cases
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
One call covers a whole folder. No solver, no license server, no vendor SDK.
|
|
55
|
+
The parsing engine scans roughly 4–20× faster than an equivalent Python script
|
|
56
|
+
([benchmark](docs/simparse.md#speed)).
|
|
57
|
+
Output is bounded so a large scan fits in an agent's context, and absolute
|
|
58
|
+
paths are redacted by default.
|
|
59
|
+
|
|
60
|
+
```console
|
|
61
|
+
$ uv run sim --json scan ./cases/beam.inp --full
|
|
62
|
+
{"schema_version": "sim.scan/v1",
|
|
63
|
+
"assets": [{"file_name": "beam.inp", "format": "abaqus-inp",
|
|
64
|
+
"summary": {"data": {"title": "Cantilever beam thermal-stress",
|
|
65
|
+
"node_count": 3, "element_count": 1, "materials": ["STEEL"],
|
|
66
|
+
"steps": ["STATIC"], "boundary_keywords": ["BOUNDARY"],
|
|
67
|
+
"load_keywords": ["CLOAD"], "output_keywords": ["NODE PRINT"]}}}]}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
(abridged — the full envelope also carries `ok`, `engine`, `request` and a
|
|
71
|
+
roll-up `summary`.)
|
|
72
|
+
|
|
73
|
+
## Supported files
|
|
74
|
+
|
|
75
|
+
| Solver | Files | `--format` id |
|
|
76
|
+
| --- | --- | --- |
|
|
77
|
+
| COMSOL | `.mph` | `comsol-mph` |
|
|
78
|
+
| Abaqus | `.inp`, `.inc` | `abaqus-inp` |
|
|
79
|
+
| Fluent | `.cas.h5`, `.msh.h5` | `fluent-hdf5` |
|
|
80
|
+
| Ansys Electronics Desktop (HFSS / Icepak) | `.aedt`, `.aedtz` | `hfss-aedt` |
|
|
81
|
+
| Ansys Mechanical | `.mechdb`, `.mechdat` | `ansys-mechanical` |
|
|
82
|
+
| Icepak Classic | `.tzr` | `icepak-tzr` |
|
|
83
|
+
| Simcenter FloTHERM | `.pack`, `.xml`, `.floxml` | `flotherm-pack`, `flotherm-floxml` |
|
|
84
|
+
| Simulink | `.slx`, `.mdl` | `simulink-slx`, `simulink-mdl` |
|
|
85
|
+
| MATLAB data | `.mat` | `matlab-mat` |
|
|
86
|
+
|
|
87
|
+
What each format reports: [docs/simparse.md](docs/simparse.md).
|
|
88
|
+
|
|
89
|
+
## Options
|
|
90
|
+
|
|
91
|
+
| Flag | Effect |
|
|
92
|
+
| --- | --- |
|
|
93
|
+
| `--full` | Complete parser result instead of the bounded summary (small input sets) |
|
|
94
|
+
| `--include-paths` | Keep absolute source paths |
|
|
95
|
+
| `--limit N`, `--no-recursive` | Bound a directory walk |
|
|
96
|
+
| `--format ID` | Force a format for an explicitly named file |
|
|
97
|
+
|
|
98
|
+
Every command takes `--json` and returns a stable envelope with a closed
|
|
99
|
+
error-code enum. `uv run sim --json describe` prints the full command manifest.
|
|
100
|
+
|
|
101
|
+
## Docs
|
|
102
|
+
|
|
103
|
+
- [docs/agent-readability.md](docs/agent-readability.md) — JSON envelope,
|
|
104
|
+
error codes, exit codes. Read this first if you are an agent.
|
|
105
|
+
- [docs/simparse.md](docs/simparse.md) — what each file format reports.
|
|
106
|
+
- [docs/plugin-install.md](docs/plugin-install.md) — optional solver packages
|
|
107
|
+
for detecting installs and driving a live solver session.
|
|
108
|
+
- [CONTRIBUTING.md](CONTRIBUTING.md) and [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md).
|
|
109
|
+
|
|
110
|
+
## License
|
|
111
|
+
|
|
112
|
+
Apache-2.0 — see [LICENSE](LICENSE). Solvers are not bundled; vendor and
|
|
113
|
+
trademark notes are in [NOTICE](NOTICE).
|
|
@@ -27,9 +27,9 @@ sim/gui/_win32_dialog.py,sha256=4hErvQxY4SwW_fTpX3FTUxhugkRYpkTRdBiBDu9_1DE,4731
|
|
|
27
27
|
sim/gui/LICENSES/ATTRIBUTION.md,sha256=X5EdZV0Gt0FdG9FpeCZ-22I3cqRg9SmoQt-86DqCBak,1150
|
|
28
28
|
sim/testing/__init__.py,sha256=iGwbSfJucKuhNLOiDnUmQCBlkhukWyp7cj89YDhoEOk,855
|
|
29
29
|
sim/testing/protocol_conformance.py,sha256=q0r7QgPoAyU-eMqN4fJWx0XZv8YNolGghu9-zDC8bls,9867
|
|
30
|
-
sim_cli_core-0.4.
|
|
31
|
-
sim_cli_core-0.4.
|
|
32
|
-
sim_cli_core-0.4.
|
|
33
|
-
sim_cli_core-0.4.
|
|
34
|
-
sim_cli_core-0.4.
|
|
35
|
-
sim_cli_core-0.4.
|
|
30
|
+
sim_cli_core-0.4.3.dist-info/METADATA,sha256=6hd5SyXYnuRaV2lp002s7Bbxf-KJ3rK3_qe0LYKh84k,4538
|
|
31
|
+
sim_cli_core-0.4.3.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
32
|
+
sim_cli_core-0.4.3.dist-info/entry_points.txt,sha256=hpg7D0fRhpgmo1IyN35XQPoyIZRSw7SLNG7tW0eacGA,37
|
|
33
|
+
sim_cli_core-0.4.3.dist-info/licenses/LICENSE,sha256=SIE2FA3YpWorOPpdePmmqF4VBqxhKlAUAWES3ImNBDY,10761
|
|
34
|
+
sim_cli_core-0.4.3.dist-info/licenses/NOTICE,sha256=HlLmMdVV4eSLlc34h7QKBo2Qb5JKOs5u98As23N469E,1974
|
|
35
|
+
sim_cli_core-0.4.3.dist-info/RECORD,,
|
|
@@ -25,6 +25,11 @@ Direct runtime dependencies (see pyproject.toml)
|
|
|
25
25
|
- each distributed under its own open-source license (BSD / MIT /
|
|
26
26
|
Apache-2.0 family); consult the respective package for terms.
|
|
27
27
|
|
|
28
|
+
simparse
|
|
29
|
+
- the parsing engine behind `sim scan`; distributed by SVD Lab as
|
|
30
|
+
prebuilt wheels under the simparse License (free to use, including
|
|
31
|
+
commercially). The license ships inside the simparse package.
|
|
32
|
+
|
|
28
33
|
================================================================================
|
|
29
34
|
Trademarks
|
|
30
35
|
================================================================================
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.5
|
|
2
|
-
Name: sim-cli-core
|
|
3
|
-
Version: 0.4.2
|
|
4
|
-
Summary: Agent-native simulation asset parsing and CAD/CAE runtime
|
|
5
|
-
Project-URL: Homepage, https://github.com/svd-ai-lab/sim-cli
|
|
6
|
-
Project-URL: Repository, https://github.com/svd-ai-lab/sim-cli
|
|
7
|
-
Project-URL: Issues, https://github.com/svd-ai-lab/sim-cli/issues
|
|
8
|
-
Project-URL: Documentation, https://github.com/svd-ai-lab/sim-cli#readme
|
|
9
|
-
Project-URL: Changelog, https://github.com/svd-ai-lab/sim-cli/blob/main/CHANGELOG.md
|
|
10
|
-
Author: SVD Lab
|
|
11
|
-
License-Expression: Apache-2.0
|
|
12
|
-
License-File: LICENSE
|
|
13
|
-
License-File: NOTICE
|
|
14
|
-
Keywords: agent,agentic,cad,cae,cae-files,cfd,fea,llm,parsing,simulation
|
|
15
|
-
Classifier: Development Status :: 3 - Alpha
|
|
16
|
-
Classifier: Intended Audience :: Developers
|
|
17
|
-
Classifier: Intended Audience :: Science/Research
|
|
18
|
-
Classifier: Operating System :: OS Independent
|
|
19
|
-
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
-
Classifier: Topic :: Scientific/Engineering
|
|
24
|
-
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
25
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
26
|
-
Requires-Python: >=3.10
|
|
27
|
-
Requires-Dist: click>=8.0
|
|
28
|
-
Requires-Dist: fastapi>=0.115
|
|
29
|
-
Requires-Dist: httpx>=0.28
|
|
30
|
-
Requires-Dist: lxml>=5.0
|
|
31
|
-
Requires-Dist: pillow>=10
|
|
32
|
-
Requires-Dist: psutil>=5.9; sys_platform == 'win32'
|
|
33
|
-
Requires-Dist: pywinauto>=0.6.8; sys_platform == 'win32'
|
|
34
|
-
Requires-Dist: pyyaml>=6.0
|
|
35
|
-
Requires-Dist: simparse<0.5,>=0.4
|
|
36
|
-
Requires-Dist: tomli>=2.0; python_version < '3.11'
|
|
37
|
-
Requires-Dist: uvicorn>=0.34
|
|
38
|
-
Provides-Extra: dev
|
|
39
|
-
Requires-Dist: pytest>=8.0; extra == 'dev'
|
|
40
|
-
Requires-Dist: ruff>=0.4; extra == 'dev'
|
|
41
|
-
Description-Content-Type: text/markdown
|
|
42
|
-
|
|
43
|
-
# sim
|
|
44
|
-
|
|
45
|
-
**`sim` reads existing CAE files and turns them into structured text an agent
|
|
46
|
-
can use — without launching the solver.**
|
|
47
|
-
|
|
48
|
-
Python 3.10+ · Apache-2.0 · alpha
|
|
49
|
-
|
|
50
|
-
---
|
|
51
|
-
|
|
52
|
-
## Scan existing simulation assets
|
|
53
|
-
|
|
54
|
-
Point `sim scan` at a folder of `.mph` / `.inp` / `.cas.h5` / `.aedt` files and
|
|
55
|
-
get back structured JSON an agent can reason over — model inventory, materials,
|
|
56
|
-
boundary conditions, mesh counts, solve settings. No solver, no license, and
|
|
57
|
-
nothing else to install:
|
|
58
|
-
|
|
59
|
-
```bash
|
|
60
|
-
uv init # only if this is not already a uv project
|
|
61
|
-
uv add sim-cli-core
|
|
62
|
-
uv run sim --json scan ./historical-cases
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
```console
|
|
66
|
-
$ uv run sim --json scan ./cases/beam.inp --full
|
|
67
|
-
{
|
|
68
|
-
"schema_version": "sim.scan/v1",
|
|
69
|
-
"assets": [{
|
|
70
|
-
"file_name": "beam.inp",
|
|
71
|
-
"format": "abaqus-inp",
|
|
72
|
-
"summary": {"data": {
|
|
73
|
-
"title": "Cantilever beam thermal-stress",
|
|
74
|
-
"node_count": 3,
|
|
75
|
-
"element_count": 1,
|
|
76
|
-
"materials": ["STEEL"],
|
|
77
|
-
"sections": ["SOLID SECTION:STEEL"],
|
|
78
|
-
"steps": ["STATIC"],
|
|
79
|
-
"boundary_keywords": ["BOUNDARY"],
|
|
80
|
-
"load_keywords": ["CLOAD"],
|
|
81
|
-
"output_keywords": ["NODE PRINT"]
|
|
82
|
-
}}
|
|
83
|
-
}]
|
|
84
|
-
}
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
(abridged — the real envelope also carries `ok`, `engine`, `request`, and a
|
|
88
|
-
roll-up `summary` block.)
|
|
89
|
-
|
|
90
|
-
| Solver | Files | `--format` id |
|
|
91
|
-
| --- | --- | --- |
|
|
92
|
-
| COMSOL | `.mph` | `comsol-mph` |
|
|
93
|
-
| Abaqus | `.inp`, `.inc` | `abaqus-inp` |
|
|
94
|
-
| Fluent | `.cas.h5`, `.msh.h5` | `fluent-hdf5` |
|
|
95
|
-
| Ansys Electronics Desktop (HFSS / Icepak) | `.aedt`, `.aedtz` | `hfss-aedt` |
|
|
96
|
-
| Ansys Mechanical | `.mechdb`, `.mechdat` | `ansys-mechanical` |
|
|
97
|
-
| Icepak Classic | `.tzr` | `icepak-tzr` |
|
|
98
|
-
| Simcenter FloTHERM | `.pack`, `.xml`, `.floxml` | `flotherm-pack`, `flotherm-floxml` |
|
|
99
|
-
| Simulink | `.slx`, `.mdl` | `simulink-slx`, `simulink-mdl` |
|
|
100
|
-
| MATLAB data | `.mat` | `matlab-mat` |
|
|
101
|
-
|
|
102
|
-
The default view is bounded — lists come back as `{total, sample, truncated}`
|
|
103
|
-
so a large scan cannot blow up an agent's context — and absolute paths are
|
|
104
|
-
redacted unless `--include-paths` is set. Use `--full` for the complete parser
|
|
105
|
-
result on a small input set, `--limit` and `--no-recursive` to bound a directory
|
|
106
|
-
walk, and `--format` to force a format for an explicitly named file. What each
|
|
107
|
-
format reports: [docs/simparse.md](docs/simparse.md).
|
|
108
|
-
|
|
109
|
-
Every command takes `--json` and returns a stable envelope with a closed
|
|
110
|
-
error-code enum — see [docs/agent-readability.md](docs/agent-readability.md).
|
|
111
|
-
Run `uv run sim --json describe` for a machine-readable command manifest.
|
|
112
|
-
|
|
113
|
-
## Example: what's in this folder?
|
|
114
|
-
|
|
115
|
-
```text
|
|
116
|
-
Scan ./legacy-cases and tell me which models are package-level thermal
|
|
117
|
-
studies, which already have solved results, and what total power each one
|
|
118
|
-
assumes. Use `uv run sim --json scan`.
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
## Optional: working with a local solver
|
|
122
|
-
|
|
123
|
-
Scanning never needs a solver. If an agent also has to detect solver installs,
|
|
124
|
-
lint a script before running it, or keep a solver session open, add that
|
|
125
|
-
solver's package (for example `sim-plugin-comsol`) and its agent skill:
|
|
126
|
-
|
|
127
|
-
```bash
|
|
128
|
-
uv add sim-plugin-comsol
|
|
129
|
-
uv run sim plugin sync-skills --target .agents/skills --copy # .claude/skills for Claude Code
|
|
130
|
-
uv run sim check comsol
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
The supported solvers, install commands, live-session commands, and the
|
|
134
|
-
`sim.toml` manifest are covered in
|
|
135
|
-
[docs/plugin-install.md](docs/plugin-install.md). Running the solver on another
|
|
136
|
-
host is covered in [docs/remote-solvers.md](docs/remote-solvers.md).
|
|
137
|
-
|
|
138
|
-
## Solver ownership
|
|
139
|
-
|
|
140
|
-
`sim-cli` does not bundle or redistribute simulation solvers or vendor SDKs.
|
|
141
|
-
Install and operate each underlying solver according to its vendor terms. See
|
|
142
|
-
[NOTICE](NOTICE) for optional SDK dependency notes.
|
|
143
|
-
|
|
144
|
-
`sim-cli` is an independent open-source project and is not affiliated with,
|
|
145
|
-
endorsed by, or sponsored by any solver vendor. Product, solver, and company
|
|
146
|
-
names remain the property of their respective owners.
|
|
147
|
-
|
|
148
|
-
## Docs
|
|
149
|
-
|
|
150
|
-
- [docs/agent-readability.md](docs/agent-readability.md) — `--json` envelope,
|
|
151
|
-
error-code enum, exit codes. Read this first if you are an agent.
|
|
152
|
-
- [docs/plugin-install.md](docs/plugin-install.md) — optional solver packages,
|
|
153
|
-
live sessions, and the `sim.toml` reference
|
|
154
|
-
- [docs/remote-solvers.md](docs/remote-solvers.md) — running the solver on
|
|
155
|
-
another host, and the security constraints that apply
|
|
156
|
-
- [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md) — project setup, layout, driver
|
|
157
|
-
protocol, and architecture notes
|
|
158
|
-
- [docs/why-cli-first.md](docs/why-cli-first.md) — why a CLI rather than MCP
|
|
159
|
-
- [CONTRIBUTING.md](CONTRIBUTING.md) — branch, test, and PR workflow
|
|
160
|
-
|
|
161
|
-
## License
|
|
162
|
-
|
|
163
|
-
Apache-2.0 — see [LICENSE](LICENSE).
|
|
File without changes
|
|
File without changes
|