mattergraph-core 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mattergraph/__init__.py +31 -0
- mattergraph/datasets.py +716 -0
- mattergraph/derived/__init__.py +21 -0
- mattergraph/derived/elastic.py +286 -0
- mattergraph/graph/__init__.py +20 -0
- mattergraph/graph/atom_features.py +53 -0
- mattergraph/graph/crystal_graph.py +187 -0
- mattergraph/graph/edge_features.py +8 -0
- mattergraph/normalization/__init__.py +29 -0
- mattergraph/normalization/formulas.py +12 -0
- mattergraph/normalization/properties.py +62 -0
- mattergraph/normalization/structures.py +65 -0
- mattergraph/normalization/units.py +86 -0
- mattergraph/py.typed +0 -0
- mattergraph/schema/__init__.py +24 -0
- mattergraph/schema/context.py +110 -0
- mattergraph/schema/dataset.py +45 -0
- mattergraph/schema/generation.py +43 -0
- mattergraph/schema/material.py +119 -0
- mattergraph/schema/property.py +96 -0
- mattergraph/schema/provenance.py +63 -0
- mattergraph/schema/result.py +58 -0
- mattergraph/schema/simulation.py +32 -0
- mattergraph/schema/structure.py +117 -0
- mattergraph/scoring/__init__.py +3 -0
- mattergraph/scoring/scorecard.py +285 -0
- mattergraph/store.py +145 -0
- mattergraph/utils/__init__.py +1 -0
- mattergraph_core-0.1.0.dist-info/METADATA +61 -0
- mattergraph_core-0.1.0.dist-info/RECORD +31 -0
- mattergraph_core-0.1.0.dist-info/WHEEL +4 -0
mattergraph/__init__.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""MatterGraph core: materials schema, crystal graphs, and basic scoring."""
|
|
2
|
+
|
|
3
|
+
from importlib import metadata
|
|
4
|
+
|
|
5
|
+
from mattergraph.schema.context import PropertyContext, Quantity, SourceArtifact
|
|
6
|
+
from mattergraph.schema.dataset import DatasetManifest
|
|
7
|
+
from mattergraph.schema.material import Material
|
|
8
|
+
from mattergraph.schema.property import MaterialProperty
|
|
9
|
+
from mattergraph.schema.provenance import ProvenanceRecord
|
|
10
|
+
from mattergraph.schema.result import SimulationResultEnvelope
|
|
11
|
+
from mattergraph.scoring.scorecard import Scorecard
|
|
12
|
+
from mattergraph.store import MaterialStore
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
"DatasetManifest",
|
|
16
|
+
"Material",
|
|
17
|
+
"MaterialProperty",
|
|
18
|
+
"PropertyContext",
|
|
19
|
+
"ProvenanceRecord",
|
|
20
|
+
"Quantity",
|
|
21
|
+
"SimulationResultEnvelope",
|
|
22
|
+
"SourceArtifact",
|
|
23
|
+
"MaterialStore",
|
|
24
|
+
"Scorecard",
|
|
25
|
+
"__version__",
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
try:
|
|
29
|
+
__version__ = metadata.version("mattergraph-core")
|
|
30
|
+
except metadata.PackageNotFoundError:
|
|
31
|
+
__version__ = "0.0.0"
|