COMSOL Multiphysics driver for sim-cli, distributed as an out-of-tree plugin
Project description
sim-plugin-comsol
COMSOL Multiphysics driver for sim-cli, distributed as an out-of-tree plugin via Python entry_points.
The COMSOL solver and its mph Python binding are not bundled — you supply them yourself. See LICENSE-NOTICE.md.
Install
pip install sim-plugin-comsol
After install, sim-cli auto-discovers the driver:
sim drivers | grep comsol
sim run --solver comsol path/to/script.py
You can also install through sim-cli's plugin command:
sim plugin install sim-plugin-comsol
For realtime-visible COMSOL Desktop collaboration on Windows, use the standalone attach helper:
sim-comsol-attach open --json --timeout 120
sim-comsol-attach exec --file step.java --json
How it works
The plugin registers via three entry-point groups:
[project.entry-points."sim.drivers"]
comsol = "sim_plugin_comsol:ComsolDriver"
[project.entry-points."sim.skills"]
comsol = "sim_plugin_comsol:skills_dir"
[project.entry-points."sim.plugins"]
comsol = "sim_plugin_comsol:plugin_info"
sim.drivers exposes the driver class; sim.skills exposes a directory
of skill files bundled inside the wheel; sim.plugins exposes plugin
metadata for discovery.
Develop
git clone https://github.com/svd-ai-lab/sim-plugin-comsol
cd sim-plugin-comsol
uv sync
uv run pytest
License
Apache-2.0. See LICENSE and LICENSE-NOTICE.md.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sim_plugin_comsol-0.1.7.tar.gz.
File metadata
- Download URL: sim_plugin_comsol-0.1.7.tar.gz
- Upload date:
- Size: 155.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cd57cdcaa1b46c2cffc3fe09d0420e639e786f9d86f0b051a61e7acc1d3dd3a
|
|
| MD5 |
49d18dff97a75561f01358958202f62c
|
|
| BLAKE2b-256 |
a8e0ead3cecf0afba7330b4149f4b63a0df44fed3362e58d5f8866e0cc2c80d2
|
Provenance
The following attestation bundles were made for sim_plugin_comsol-0.1.7.tar.gz:
Publisher:
publish.yml on svd-ai-lab/sim-plugin-comsol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sim_plugin_comsol-0.1.7.tar.gz -
Subject digest:
6cd57cdcaa1b46c2cffc3fe09d0420e639e786f9d86f0b051a61e7acc1d3dd3a - Sigstore transparency entry: 1429819514
- Sigstore integration time:
-
Permalink:
svd-ai-lab/sim-plugin-comsol@18048eedf1d2f44866a914fc952356323e9e5280 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/svd-ai-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@18048eedf1d2f44866a914fc952356323e9e5280 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sim_plugin_comsol-0.1.7-py3-none-any.whl.
File metadata
- Download URL: sim_plugin_comsol-0.1.7-py3-none-any.whl
- Upload date:
- Size: 91.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7311f39f0f8c8cbeaf826d44d04bb6e25febc5fc3cace1df63474ced312822ab
|
|
| MD5 |
ae9ce2b1fec914643a4efa3c39e3b3ce
|
|
| BLAKE2b-256 |
19c79e9e174c34370b3ce7b94cbcaf8eb43de33876a2e79465c8a0b30394ab7a
|
Provenance
The following attestation bundles were made for sim_plugin_comsol-0.1.7-py3-none-any.whl:
Publisher:
publish.yml on svd-ai-lab/sim-plugin-comsol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sim_plugin_comsol-0.1.7-py3-none-any.whl -
Subject digest:
7311f39f0f8c8cbeaf826d44d04bb6e25febc5fc3cace1df63474ced312822ab - Sigstore transparency entry: 1429819544
- Sigstore integration time:
-
Permalink:
svd-ai-lab/sim-plugin-comsol@18048eedf1d2f44866a914fc952356323e9e5280 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/svd-ai-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@18048eedf1d2f44866a914fc952356323e9e5280 -
Trigger Event:
push
-
Statement type: