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
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

mattergraph_api-0.1.0.tar.gz (20.4 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.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

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

Hashes for mattergraph_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a6cb71164779d9334f0fd2f8debb24c3229bf63ecf3f42e1167ecc1871ddeade
MD5 2d4c072268a2b13e85491c8c12b7486c
BLAKE2b-256 f79db800200a793873fb68337eb0979a90e8d2389013a9942fa632784e370191

See more details on using hashes here.

Provenance

The following attestation bundles were made for mattergraph_api-0.1.0.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.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

Hashes for mattergraph_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2026d7171e46c2930783fe274cb0fd7dddc41d6f1497fa873b85daf9ec21e162
MD5 614ed8f39162e8d70fc2af00457ad7fa
BLAKE2b-256 0630de5a728670dc7c4d29bc64d66f98487ad78b29401bf59d950a8cc8358404

See more details on using hashes here.

Provenance

The following attestation bundles were made for mattergraph_api-0.1.0-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

0.1.1

2 files

This release

0.1.0 This release

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