{"adoption": {"forks": 965, "observed_at": "2026-08-28T04:05:57.631673+00:00", "stars": 1944}, "canonical_url": "https://ross.abutalabs.com/products/pymatgen", "card": {"archived": false, "artifact_type": "library", "description": "Python Materials Genomics (pymatgen) is a robust materials analysis code that defines classes for structures and molecules with support for many electronic structure codes. It powers the Materials Project.", "domain": ["chemistry", "data-science", "developer-tools", "files"], "enriched": true, "function": ["data-science", "simulation", "parser", "cli", "sdk", "math", "data-visualization"], "health_score": 97, "homepage": "https://pymatgen.org", "language": "Python", "license": "NOASSERTION", "license_family": "other", "maturity": "stable", "member_repos": ["materialsproject/pymatgen"], "name": "materialsproject/pymatgen", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2026-08-18T04:31:44+00:00", "repo": "materialsproject/pymatgen", "stars": 1944, "tags": ["materials-science", "materials-informatics", "crystallography", "computational-chemistry", "vasp", "electronic-structure", "phase-diagrams", "crystal-structures", "materials-project", "algorithms"], "topics": ["materials", "science", "materials-science", "materials-informatics", "python"], "urls": [], "use_cases": ["parse and write VASP, CIF, and Gaussian input/output files for crystal structures", "generate phase diagrams and Pourbaix diagrams from thermodynamic data", "analyze band structures and density of states from DFT calculations", "build and manipulate crystal structure and molecule objects in Python", "query the Materials Project database for materials data", "analyze diffusion and reaction pathways in materials", "study surfaces, interfaces, defects, and elasticity of materials"], "what_it_is": "Pymatgen (Python Materials Genomics) is a robust open-source Python library for materials analysis, defining core classes for crystal structures, molecules, and compositions with extensive file I/O for electronic structure codes like VASP, ABINIT, and Gaussian. It provides powerful analysis tools including phase diagrams, Pourbaix diagrams, band structure analysis, and integrates with the Materials Project REST API.", "when_to_avoid": ["you only need core structure objects and want a lighter install - use pymatgen-core instead", "your work is purely molecular simulation without periodic structures - ASE or RDKit may fit better", "you need a GUI for structure visualization - pymatgen is primarily a programmatic library"], "when_to_choose": ["you need a mature, widely-adopted toolkit for computational materials science in Python", "you work with electronic structure codes like VASP or ABINIT and need robust file I/O", "you want to build materials informatics workflows on top of Materials Project data", "you need crystal structure manipulation, symmetry analysis, or structure transformations"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pymatgen", "repo": "materialsproject/pymatgen", "role": "main", "score": 93}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.631673+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:08:00.557181+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8a46123eece010441bf66c18b7e4d74ed24d3ad43de49371a2e0fbf2dbd053f1", "fetched_at": "2026-08-28T04:05:57.631673+00:00", "kind": "readme", "missing": false, "url": "https://github.com/materialsproject/pymatgen"}, {"content_hash": "f815e8937d959b4a05b5dceff7e047d0ffe650645715a549fffe16c8ea233bb6", "fetched_at": "2026-08-29T10:47:07.231077+00:00", "kind": "homepage", "missing": false, "url": "https://pymatgen.org"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.241565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation.html"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.248537+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.244565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen.html"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.246611+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.631673+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:08:00.557181+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8a46123eece010441bf66c18b7e4d74ed24d3ad43de49371a2e0fbf2dbd053f1", "fetched_at": "2026-08-28T04:05:57.631673+00:00", "kind": "readme", "missing": false, "url": "https://github.com/materialsproject/pymatgen"}, {"content_hash": "f815e8937d959b4a05b5dceff7e047d0ffe650645715a549fffe16c8ea233bb6", "fetched_at": "2026-08-29T10:47:07.231077+00:00", "kind": "homepage", "missing": false, "url": "https://pymatgen.org"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.241565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation.html"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.248537+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.244565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen.html"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.246611+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:08:00.557181+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8a46123eece010441bf66c18b7e4d74ed24d3ad43de49371a2e0fbf2dbd053f1", "fetched_at": "2026-08-28T04:05:57.631673+00:00", "kind": "readme", "missing": false, "url": "https://github.com/materialsproject/pymatgen"}, {"content_hash": "f815e8937d959b4a05b5dceff7e047d0ffe650645715a549fffe16c8ea233bb6", "fetched_at": "2026-08-29T10:47:07.231077+00:00", "kind": "homepage", "missing": false, "url": "https://pymatgen.org"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.241565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation.html"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.248537+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.244565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen.html"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.246611+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.631673+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.631673+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.631673+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:08:00.557181+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8a46123eece010441bf66c18b7e4d74ed24d3ad43de49371a2e0fbf2dbd053f1", "fetched_at": "2026-08-28T04:05:57.631673+00:00", "kind": "readme", "missing": false, "url": "https://github.com/materialsproject/pymatgen"}, {"content_hash": "f815e8937d959b4a05b5dceff7e047d0ffe650645715a549fffe16c8ea233bb6", "fetched_at": "2026-08-29T10:47:07.231077+00:00", "kind": "homepage", "missing": false, "url": "https://pymatgen.org"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.241565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation.html"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.248537+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.244565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen.html"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.246611+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.631673+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.631673+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:08:00.557181+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8a46123eece010441bf66c18b7e4d74ed24d3ad43de49371a2e0fbf2dbd053f1", "fetched_at": "2026-08-28T04:05:57.631673+00:00", "kind": "readme", "missing": false, "url": "https://github.com/materialsproject/pymatgen"}, {"content_hash": "f815e8937d959b4a05b5dceff7e047d0ffe650645715a549fffe16c8ea233bb6", "fetched_at": "2026-08-29T10:47:07.231077+00:00", "kind": "homepage", "missing": false, "url": "https://pymatgen.org"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.241565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation.html"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.248537+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.244565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen.html"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.246611+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.631673+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.631673+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.631673+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:08:00.557181+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8a46123eece010441bf66c18b7e4d74ed24d3ad43de49371a2e0fbf2dbd053f1", "fetched_at": "2026-08-28T04:05:57.631673+00:00", "kind": "readme", "missing": false, "url": "https://github.com/materialsproject/pymatgen"}, {"content_hash": "f815e8937d959b4a05b5dceff7e047d0ffe650645715a549fffe16c8ea233bb6", "fetched_at": "2026-08-29T10:47:07.231077+00:00", "kind": "homepage", "missing": false, "url": "https://pymatgen.org"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.241565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation.html"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.248537+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.244565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen.html"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.246611+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.631673+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.631673+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:08:00.557181+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8a46123eece010441bf66c18b7e4d74ed24d3ad43de49371a2e0fbf2dbd053f1", "fetched_at": "2026-08-28T04:05:57.631673+00:00", "kind": "readme", "missing": false, "url": "https://github.com/materialsproject/pymatgen"}, {"content_hash": "f815e8937d959b4a05b5dceff7e047d0ffe650645715a549fffe16c8ea233bb6", "fetched_at": "2026-08-29T10:47:07.231077+00:00", "kind": "homepage", "missing": false, "url": "https://pymatgen.org"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.241565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation.html"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.248537+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.244565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen.html"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.246611+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:08:00.557181+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8a46123eece010441bf66c18b7e4d74ed24d3ad43de49371a2e0fbf2dbd053f1", "fetched_at": "2026-08-28T04:05:57.631673+00:00", "kind": "readme", "missing": false, "url": "https://github.com/materialsproject/pymatgen"}, {"content_hash": "f815e8937d959b4a05b5dceff7e047d0ffe650645715a549fffe16c8ea233bb6", "fetched_at": "2026-08-29T10:47:07.231077+00:00", "kind": "homepage", "missing": false, "url": "https://pymatgen.org"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.241565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation.html"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.248537+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.244565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen.html"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.246611+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:08:00.557181+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8a46123eece010441bf66c18b7e4d74ed24d3ad43de49371a2e0fbf2dbd053f1", "fetched_at": "2026-08-28T04:05:57.631673+00:00", "kind": "readme", "missing": false, "url": "https://github.com/materialsproject/pymatgen"}, {"content_hash": "f815e8937d959b4a05b5dceff7e047d0ffe650645715a549fffe16c8ea233bb6", "fetched_at": "2026-08-29T10:47:07.231077+00:00", "kind": "homepage", "missing": false, "url": "https://pymatgen.org"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.241565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation.html"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.248537+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.244565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen.html"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.246611+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:08:00.557181+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8a46123eece010441bf66c18b7e4d74ed24d3ad43de49371a2e0fbf2dbd053f1", "fetched_at": "2026-08-28T04:05:57.631673+00:00", "kind": "readme", "missing": false, "url": "https://github.com/materialsproject/pymatgen"}, {"content_hash": "f815e8937d959b4a05b5dceff7e047d0ffe650645715a549fffe16c8ea233bb6", "fetched_at": "2026-08-29T10:47:07.231077+00:00", "kind": "homepage", "missing": false, "url": "https://pymatgen.org"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.241565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation.html"}, {"content_hash": "6d7715c396fd7f0ad9a73c8d5919002a68d9bc42439551bbd8303b1ba16f0bb0", "fetched_at": "2026-08-29T10:47:07.248537+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/installation"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.244565+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen.html"}, {"content_hash": "61e8648fd0f487889f0129a76867ddd61decaf25f39d3ae1ffad397faa53e3c0", "fetched_at": "2026-08-29T10:47:07.246611+00:00", "kind": "site_page", "missing": false, "url": "https://pymatgen.org/pymatgen"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 82}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5428, "days_push": 15, "days_rel": 121, "gap_med": 10.0, "n_releases_24m": 27}, "score": 93, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}