Skip to main content

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
uvicorn mattergraph_api.main:app --host 0.0.0.0 --port 8000

The default API uses the packaged, checksummed 24-record LeMaterial example. Set MATTERGRAPH_DEMO_DATA only when intentionally replacing it with a custom JSONL store.

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

mattergraph_api-0.1.1.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mattergraph_api-0.1.1-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file mattergraph_api-0.1.1.tar.gz.

File metadata

  • Download URL: mattergraph_api-0.1.1.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mattergraph_api-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d0154a08be4fe1c939115dd41d4e88af68c2769fb84ab7979313afc74f900d9a
MD5 ad2236bde0d742fbfe211b82dde3fafd
BLAKE2b-256 5654c439723cae2e492c990a76e7b17b1fe6ca1803591f7d675ce3c4612ac36b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mattergraph_api-0.1.1.tar.gz:

Publisher: release.yml on cyrusmo/MatterGraph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mattergraph_api-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mattergraph_api-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mattergraph_api-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fad8197b13d679238891faf8a2e61fb29059e9b56fa4f609252336934591cefb
MD5 0993fe80806a066ac9036c8232cafcd9
BLAKE2b-256 97bba648ae7cbe34cd55bd4b1f8813fbaf28d71f7116d45aa9b10c3f345c7cfe

See more details on using hashes here.

Provenance

The following attestation bundles were made for mattergraph_api-0.1.1-py3-none-any.whl:

Publisher: release.yml on cyrusmo/MatterGraph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page