materialsproject/pymatgen
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. observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 98
- Release rhythm 82
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 10.0
- age_days: 5428
- days_rel: 121
- days_push: 15
- n_releases_24m: 27
Adoption not part of the score
1944 stars · 965 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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.
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
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
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
Facets
library · maturity stable
data-science simulation parser cli sdk math data-visualization chemistry data-science developer-tools files python cli cross-platform materials-science materials-informatics crystallography computational-chemistry vasp electronic-structure phase-diagrams crystal-structures materials-project algorithms
6 sources
- readme: https://github.com/materialsproject/pymatgen · fetched 2026-08-28 · 8a46123eece0
- homepage: https://pymatgen.org · fetched 2026-08-29 · f815e8937d95
- site_page: https://pymatgen.org/installation.html · fetched 2026-08-29 · 6d7715c396fd
- site_page: https://pymatgen.org/installation · fetched 2026-08-29 · 6d7715c396fd
- site_page: https://pymatgen.org/pymatgen.html · fetched 2026-08-29 · 61e8648fd0f4
- site_page: https://pymatgen.org/pymatgen · fetched 2026-08-29 · 61e8648fd0f4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| materialsproject/pymatgen | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="materialsproject/pymatgen")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem