mattergraph-api
FastAPI demo service for MatterGraph.
This is a demonstration surface, not a production service: storage is an in-memory store loaded from a JSONL fixture, and the persistence layer under mattergraph_api/db/ is a placeholder for installations that need one.
Routes
| Route | Purpose |
|---|---|
GET /health |
Liveness |
GET /materials, GET /materials/{mid} |
Browse normalized records |
GET /search?element= |
Filter by element |
POST /scores/rank |
Rank candidates with objectives, constraints, and weights |
POST /simulations/ase/relax |
Run an ASE relaxation (503 if ase is unavailable) |
GET /workflows/lematerial/demo |
End-to-end LeMat-Bulk screening walkthrough |
Install and run
pip install mattergraph-api
export MATTERGRAPH_DEMO_DATA=data/demo/materials_sample.jsonl
uvicorn mattergraph_api.main:app --host 0.0.0.0 --port 8000
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_api-0.1.0.tar.gz.
File metadata
- Download URL: mattergraph_api-0.1.0.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6cb71164779d9334f0fd2f8debb24c3229bf63ecf3f42e1167ecc1871ddeade
|
|
| MD5 |
2d4c072268a2b13e85491c8c12b7486c
|
|
| BLAKE2b-256 |
f79db800200a793873fb68337eb0979a90e8d2389013a9942fa632784e370191
|
Provenance
The following attestation bundles were made for mattergraph_api-0.1.0.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_api-0.1.0.tar.gz -
Subject digest:
a6cb71164779d9334f0fd2f8debb24c3229bf63ecf3f42e1167ecc1871ddeade - Sigstore transparency entry: 2582535061
- Sigstore integration time:
-
Permalink:
cyrusmo/MatterGraph@dac7d7e0be8594305041acb169c6358f3775d638 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/cyrusmo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@dac7d7e0be8594305041acb169c6358f3775d638 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mattergraph_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mattergraph_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.8 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 |
2026d7171e46c2930783fe274cb0fd7dddc41d6f1497fa873b85daf9ec21e162
|
|
| MD5 |
614ed8f39162e8d70fc2af00457ad7fa
|
|
| BLAKE2b-256 |
0630de5a728670dc7c4d29bc64d66f98487ad78b29401bf59d950a8cc8358404
|
Provenance
The following attestation bundles were made for mattergraph_api-0.1.0-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_api-0.1.0-py3-none-any.whl -
Subject digest:
2026d7171e46c2930783fe274cb0fd7dddc41d6f1497fa873b85daf9ec21e162 - Sigstore transparency entry: 2582535066
- Sigstore integration time:
-
Permalink:
cyrusmo/MatterGraph@dac7d7e0be8594305041acb169c6358f3775d638 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/cyrusmo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@dac7d7e0be8594305041acb169c6358f3775d638 -
Trigger Event:
push
-
Statement type: