Skip to main content

mattergraph-connectors

Connectors to public materials databases for MatterGraph.

Each connector returns normalized Material records from mattergraph-core, so downstream filtering, graph export, and scoring work identically regardless of source.

Sources

Connector Status
Materials Project (mp-api) Supported — requires MP_API_KEY
JARVIS-DFT (jarvis-tools) Supported
NOMAD Public metadata reads, no API key needed. Metadata-only in v0.1 — does not fetch archives or derived scalar properties.
LeMat-Bulk Companion adapter (records, parquet, or Hugging Face datasets)
Local CSV Supported
OQMD Stub — preserves the API surface, returns no records

Heavy source SDKs are imported lazily, so importing the package stays cheap and a missing optional dependency produces a readable install hint rather than an ImportError traceback.

Install

pip install mattergraph-connectors

Example

import json
from pathlib import Path

from mattergraph_connectors import LeMatBulk

artifact = json.loads(Path("data/demo/spc_real_snapshot.json").read_text())
dataset = LeMatBulk.from_records(artifact["records"], subset="compatible_pbe")

candidates = (
    dataset
    .filter_elements(include=["Ti", "Al", "N"])
    .filter_complexity(max_nsites=16, max_nelements=3)
    .create_slice("spc_tialn_candidates_v1", target="energy_above_hull")
)
print(candidates.report())

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_connectors-0.1.0.tar.gz (40.8 kB view details)

Uploaded Source

Built Distribution

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

mattergraph_connectors-0.1.0-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

Details for the file mattergraph_connectors-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for mattergraph_connectors-0.1.0.tar.gz
Algorithm Hash digest
SHA256 84a43234b4f2d96bb7fd38897e83f3be231632674b033ac0281bc48ffdbf14a9
MD5 04ecd697e19eac6ef89c654c9db0d94a
BLAKE2b-256 2cd1ad99c09595687bcd8e62333c532ba9f4836a6c79acc40591e07dcc9fe42b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mattergraph_connectors-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_connectors-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mattergraph_connectors-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2f3f7f846f77782e392fb35757cd21f7caa2120ddde185f15eea92a84a256df
MD5 205e57d420adfb489cd7ddb1acc78e01
BLAKE2b-256 fa75208d836a3ee22112c906663d7f8f379ab2aed6ae816cdfd8d12b9539d895

See more details on using hashes here.

Provenance

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