$npx skillfedfor your agent

pymatgen-core

Python Materials Genomics is a robust materials analysis code that defines core object representations for structures and molecules with support for many electronic structure codes. It is currently the core analysis code powering the Materials Project (https://materialsproject.org). This repository is for pymatgen-core, which implements the core data structures and algorithms.

With conditionsPyPI Python ModulesReleased Aug 2026701.9K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — pymatgen_core-2026.8.13-cp311-cp311-macosx_11_0_arm64.whl · pymatgen_core-2026.8.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl · pymatgen_core-2026.8.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
v2026.8.13 · released 2026-08-13 · Python >=3.11 · 18 runtime deps: bibtexparser, joblib, lxml, matplotlib, monty, networkx, numpy, orjson

Yes, if you work with crystal structures or computational materials data. pymatgen-core is actively maintained, well-documented, and widely used in materials research. It has no known vulnerabilities and permissive licensing. The 18 runtime dependencies add medium install friction, but pre-built wheels for Python 3.11–3.14 across major platforms mitigate this. Install the full pymatgen package instead if you need higher-level analysis modules.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later; some functionality (e.g., POTCAR generation) requires additional setup as documented in the pymatgen docs.
  • Medium install friction due to 18 runtime dependencies including numpy, scipy, matplotlib, and pandas.
  • Active maintenance with a release 1 day old and continuous integration via GitHub Actions.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you may use, modify, and distribute pymatgen-core freely in commercial and private projects, provided you retain the license notice.

last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 24 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 701,865 downloads/mo, #5,288 on PyPI

Verify before relying

pip install pymatgen-core

from pymatgen.core import Structure
struct = Structure.from_file('structure.cif')
  • Whether the 18 runtime dependencies can be installed without compilation issues on all supported platforms.
  • Performance characteristics of coordinate manipulations and periodic boundary condition handling relative to alternatives.
Same gist for agents: .md · .json

What it is and what it does

pymatgen-core is the foundational subset of the Pymatgen materials analysis library, split out to provide core data structures and I/O with minimal dependencies. It defines flexible object representations for elements, sites, molecules, and crystal structures, and handles input/output for many computational chemistry codes including VASP, ABINIT, Gaussian, and CIF files. It also includes core analysis tools such as symmetry detection, structure matching, bond valence calculations, and Ewald summation, plus electronic structure data classes for density of states and band structure.

The package is actively maintained as part of the Materials Project ecosystem and is used by thousands of researchers. It imports under the standard pymatgen namespace, so existing code continues to work. If you need higher-level analysis (phase diagrams, Pourbaix diagrams, diffusion analysis), install the full pymatgen package instead, which builds on top of pymatgen-core.

Use it for

  • Parse and manipulate crystal structure files from DFT calculations (VASP, ABINIT, Gaussian) for downstream analysis.
  • Detect crystal symmetry and perform lattice/coordinate transformations for structure comparison and matching.
  • Build materials science workflows that depend on standardized structure and electronic structure representations.
  • Access foundational utilities used by the broader pymatgen ecosystem (atomate, FireWorks, pymatgen-analysis add-ons).
  • Calculate bond valence sums and Ewald electrostatic energies for structure validation.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you work with crystal structures or computational materials data.

pymatgen-core is actively maintained, well-documented, and widely used in materials research. It has no known vulnerabilities and permissive licensing. The 18 runtime dependencies add medium install friction, but pre-built wheels for Python 3.11–3.14 across major platforms mitigate this. Install the full pymatgen package instead if you need higher-level analysis modules.

Install

pymatgen-core on PyPI

Before you install

Medium install friction due to 18 runtime dependencies including numpy, scipy, matplotlib, and pandas. Active maintenance with a release 1 day old and continuous integration via GitHub Actions. Supports Python 3.11–3.14 with pre-built wheels across macOS, Linux, and Windows.

Requires Python 3.11 or later; some functionality (e.g., POTCAR generation) requires additional setup as documented in the pymatgen docs.

License in practice

MIT license is permissive; you may use, modify, and distribute pymatgen-core freely in commercial and private projects, provided you retain the license notice.

Quickstart

pip install pymatgen-core

from pymatgen.core import Structure
struct = Structure.from_file('structure.cif')

Verify before relying

  • Whether the 18 runtime dependencies can be installed without compilation issues on all supported platforms.
  • Performance characteristics of coordinate manipulations and periodic boundary condition handling relative to alternatives.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.11
Install frictionMedium. Platform-specific wheel
Runtime dependencies
18 packages
bibtexparserjobliblxmlmatplotlibmontynetworkxnumpyorjsonpalettablepandasplotlyrequestsscipyspglibsympytabulatetqdmuncertainties
MaintenanceActively maintained 1 days since the last release
Last repo commit
First released
Downloads701,865 / month, #5,288 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: ChemistryTopic :: Scientific/Engineering :: Information AnalysisTopic :: Scientific/Engineering :: PhysicsTopic :: Software Development :: Libraries :: Python Modules

Evidence: pymatgen_core-2026.8.13-cp311-cp311-macosx_11_0_arm64.whl; pymatgen_core-2026.8.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; pymatgen_core-2026.8.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; pymatgen_core-2026.8.13-cp311-cp311-win32.whl; pymatgen_core-2026.8.13-cp311-cp311-win_amd64.whl; pymatgen_core-2026.8.13-cp312-cp312-macosx_11_0_arm64.whl; pymatgen_core-2026.8.13-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; pymatgen_core-2026.8.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; pymatgen_core-2026.8.13-cp312-cp312-win32.whl; pymatgen_core-2026.8.13-cp312-cp312-win_amd64.whl; pymatgen_core-2026.8.13-cp313-cp313-macosx_11_0_arm64.whl; pymatgen_core-2026.8.13-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; pymatgen_core-2026.8.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; pymatgen_core-2026.8.13-cp313-cp313-win32.whl; pymatgen_core-2026.8.13-cp313-cp313-win_amd64.whl; pymatgen_core-2026.8.13-cp314-cp314-macosx_11_0_arm64.whl; pymatgen_core-2026.8.13-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; pymatgen_core-2026.8.13-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; pymatgen_core-2026.8.13-cp314-cp314-win32.whl; pymatgen_core-2026.8.13-cp314-cp314-win_amd64.whl

Tags

Capabilities
crystal structure representationmaterials science data structuresDFT code file I/Osymmetry and lattice operationscomputational materials analysisstructure matching and analysiselectronic structure data classes
Topics
materials-sciencecrystallographycomputational-chemistry
PyPI keywords
abinitanalysiscrystaldiagramselectronicgaussianmaterialsnwchemphaseprojectqchemsciencestructurevasp

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “crystal structure representation”

  • pymatgen-corepymatgen-core provides core data structures and I/O for materials…
  • pymatgenPymatgen provides Python classes and analysis tools for materials…
  • pyxtalPyXtal generates crystal structures with specified symmetry…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also emmet-core · mp-api · pymatgen · pymatgen-io-validation · atomate2 · dpdata · pyxtal · moyopy · spglib · PyCifRW