Skip to main content

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://www.materialsproject.org).

Project description

Official docs: http://pymatgen.org

Pymatgen (Python Materials Genomics) is a robust, open-source Python library for materials analysis. These are some of the main features:

  1. Highly flexible classes for the representation of Element, Site, Molecule, Structure objects.
  2. Extensive input/output support, including support for VASP, ABINIT, CIF, Gaussian, XYZ, and many other file formats.
  3. Powerful analysis tools, including generation of phase diagrams, Pourbaix diagrams, diffusion analyses, reactions, etc.
  4. Electronic structure analyses, such as density of states and band structure.
  5. Integration with the Materials Project REST API.

Pymatgen is free to use. However, we also welcome your help to improve this library by making your own contributions. These contributions can be in the form of additional tools or modules you develop, or feature requests and bug reports. Please report any bugs and issues at pymatgen's [Github page] (https://github.com/materialsproject/pymatgen). For help with any pymatgen issues, please use the Discourse page.

Why use pymatgen?

There are many materials analysis codes out there, both commerical and free, but pymatgen offer several advantages:

  1. It is (fairly) robust. Pymatgen is used by thousands of researchers, and is the analysis code powering the Materials Project. The analysis it produces survives rigorous scrutiny every single day. Bugs tend to be found and corrected quickly. Pymatgen also uses CircleCI and Appveyor for continuous integration on the Linux and Windows platforms, respectively, which ensures that every commit passes a comprehensive suite of unittests.
  2. It is well documented. A fairly comprehensive documentation has been written to help you get to grips with it quickly.
  3. It is open. You are free to use and contribute to pymatgen. It also means that pymatgen is continuously being improved. We will attribute any code you contribute to any publication you specify. Contributing to pymatgen means your research becomes more visible, which translates to greater impact.
  4. It is fast. Many of the core numerical methods in pymatgen have been optimized by vectorizing in numpy/scipy. This means that coordinate manipulations are extremely fast and are in fact comparable to codes written in other languages. Pymatgen also comes with a complete system for handling periodic boundary conditions.
  5. It will be around. Pymatgen is not a pet research project. It is used in the well-established Materials Project. It is also actively being developed and maintained by the Materials Virtual Lab, the ABINIT group and many other research groups.

With effect from version 2021.1.1, pymatgen only supports Python >3.7.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymatgen-2022.1.8.tar.gz (3.0 MB view details)

Uploaded Source

Built Distributions

pymatgen-2022.1.8-cp39-cp39-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.9 Windows x86-64

pymatgen-2022.1.8-cp39-cp39-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pymatgen-2022.1.8-cp39-cp39-macosx_10_14_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.9 macOS 10.14+ x86-64

pymatgen-2022.1.8-cp38-cp38-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.8 Windows x86-64

pymatgen-2022.1.8-cp38-cp38-macosx_10_14_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.8 macOS 10.14+ x86-64

File details

Details for the file pymatgen-2022.1.8.tar.gz.

File metadata

  • Download URL: pymatgen-2022.1.8.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pymatgen-2022.1.8.tar.gz
Algorithm Hash digest
SHA256 a35bb978183377a076d8827c3d59e3f1e061b78984983e8e809a93c380ce79b8
MD5 84f47cea8cf12e7ad63b916b86c93bd9
BLAKE2b-256 06f702dd9d6b64fedf3ad4bcccc9af271db48b001b78db79f809a7450369a01d

See more details on using hashes here.

File details

Details for the file pymatgen-2022.1.8-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pymatgen-2022.1.8-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pymatgen-2022.1.8-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5a3b7bd20bf09c98020e0b94ca74ea79448ca4343c32ffdea4ba2941e28920bf
MD5 b6df62e6fb293ed95c753d8a4ea30da2
BLAKE2b-256 53a993178d09fea8e6c2d6b0e762f7d4c9fa127788a817c68c785fef16947dfe

See more details on using hashes here.

File details

Details for the file pymatgen-2022.1.8-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

  • Download URL: pymatgen-2022.1.8-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pymatgen-2022.1.8-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 25b06c10c6cc6eea0b253976d0aa6b8efb852c7f6c9376cd9829c614de938682
MD5 4ea21248c553dd32906f911745467880
BLAKE2b-256 b6662839f0adac159c16e52b819a16339478c2e187151db61ccd5a18cb0df60e

See more details on using hashes here.

File details

Details for the file pymatgen-2022.1.8-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pymatgen-2022.1.8-cp39-cp39-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.9, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pymatgen-2022.1.8-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d31bb9523de6c2d04b902c63fed90f650a0f9b15ffd82926f47f91465faaa192
MD5 1a2f9c4880d3d72ddb68c42f39def929
BLAKE2b-256 f5249f57dfcf824565b0d2181b32fb032fe9448053ec70fde6d3fc10fabc3c13

See more details on using hashes here.

File details

Details for the file pymatgen-2022.1.8-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pymatgen-2022.1.8-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for pymatgen-2022.1.8-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 0789cbb4c20387a22bc763d82b98c12636dc3bd48ff95109eaa9386660686add
MD5 732e1b6bd5e068650db7fee774642f54
BLAKE2b-256 9c385c6ed2a1ecd1b326cfa75380e5594ceee6fcb62f0d59d3a310f57fe4b33e

See more details on using hashes here.

File details

Details for the file pymatgen-2022.1.8-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pymatgen-2022.1.8-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pymatgen-2022.1.8-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f289142df24bc04dfbc6e7dd067447807f66678534f66193bcb4860ea8eebc78
MD5 9ad581cf68f8cfa01de79b54430c854a
BLAKE2b-256 d0b8fbe72fd15db32c8cd20e2adda1f9f49537bc0d23cb4813de9b0671ac38a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page