mattergraph-sim
Simulation job specs and runners for MatterGraph.
Structures round-trip through pymatgen, jobs are declared as validated Pydantic specs, and runners return a structured SimulationJob with status, log, and result rather than raising — so a failed relaxation is data, not an exception.
Engines
| Engine | Status |
|---|---|
| ASE | Working. Local relaxation via the EMT empirical potential (11 elements: Ag, Al, Au, C, Cu, H, N, Ni, O, Pd, Pt). |
| LAMMPS | Stub — environment-specific, returns a structured failure |
| Quantum ESPRESSO | Stub — site-specific paths and pseudopotentials, returns a structured failure |
Note on scope. EMT is a fast empirical potential with narrow element coverage; it is suitable for smoke-testing a workflow end to end, not for producing quantitative results. Universal ML interatomic potentials are the intended path to periodic-table-wide coverage.
Externally produced results can be validated with
mattergraph_sim.parsers.parse_result_envelope. This is result interchange only; it does not
launch, route, or coordinate simulation engines.
Install
pip install mattergraph-sim
Example
from mattergraph_sim import AseJobSpec, SimulationJob, ase_relax
job = SimulationJob(spec=AseJobSpec(fmax=0.05, max_steps=200), input_structure=structure.model_dump())
done = ase_relax(job)
print(done.status, done.result.energy if done.result else done.error)
License
Apache-2.0
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 mattergraph_sim-0.1.1.tar.gz.
File metadata
- Download URL: mattergraph_sim-0.1.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8d798e6c511e98b43a525aeee73ee49f5378d8eacc8a70be33335524f54b4c4
|
|
| MD5 |
20126335e1ecf1e0b73650d3c270659d
|
|
| BLAKE2b-256 |
b3af556515f8bc3d1bbeb597b038561c1f66daac430a0f4dc10832d2bbcd58e8
|
Provenance
The following attestation bundles were made for mattergraph_sim-0.1.1.tar.gz:
Publisher:
release.yml on cyrusmo/MatterGraph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mattergraph_sim-0.1.1.tar.gz -
Subject digest:
d8d798e6c511e98b43a525aeee73ee49f5378d8eacc8a70be33335524f54b4c4 - Sigstore transparency entry: 2778667823
- Sigstore integration time:
-
Permalink:
cyrusmo/MatterGraph@8586bcedc29d242c1f529d9dc72a0511d6f272b0 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/cyrusmo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8586bcedc29d242c1f529d9dc72a0511d6f272b0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mattergraph_sim-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mattergraph_sim-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6aee92145c0c26eef101def218f0336eaf050f0e04b2977be335e4867c98d16f
|
|
| MD5 |
c1e5032ea660eb93b633530013471562
|
|
| BLAKE2b-256 |
734b6736140f33ddeb6bad14724e4815c0422d55bade4277927c748e1ff3934b
|
Provenance
The following attestation bundles were made for mattergraph_sim-0.1.1-py3-none-any.whl:
Publisher:
release.yml on cyrusmo/MatterGraph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mattergraph_sim-0.1.1-py3-none-any.whl -
Subject digest:
6aee92145c0c26eef101def218f0336eaf050f0e04b2977be335e4867c98d16f - Sigstore transparency entry: 2778668535
- Sigstore integration time:
-
Permalink:
cyrusmo/MatterGraph@8586bcedc29d242c1f529d9dc72a0511d6f272b0 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/cyrusmo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8586bcedc29d242c1f529d9dc72a0511d6f272b0 -
Trigger Event:
push
-
Statement type: