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: https://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.

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.3.22.tar.gz (2.6 MB view details)

Uploaded Source

Built Distributions

pymatgen-2022.3.22-cp310-cp310-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.10 Windows x86-64

pymatgen-2022.3.22-cp310-cp310-macosx_10_15_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

pymatgen-2022.3.22-cp39-cp39-macosx_10_15_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

pymatgen-2022.3.22-cp38-cp38-macosx_10_14_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.8 macOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: pymatgen-2022.3.22.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.0 importlib-metadata/4.9.0 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for pymatgen-2022.3.22.tar.gz
Algorithm Hash digest
SHA256 010bb537fcbc33d449f61f72122880a4d443a5539f102dfc70064ee0450bc824
MD5 fa27ce6c23d7e998c0309fc596d04fa8
BLAKE2b-256 301d085006867f3293c000bc4715fa14d94a21be4101daf978daabdac30ae0c6

See more details on using hashes here.

File details

Details for the file pymatgen-2022.3.22-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pymatgen-2022.3.22-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pymatgen-2022.3.22-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5323020a6e217c6231940057a12f24fac1fc60fa7c8d076cb1877c00cfa00b1d
MD5 5548df4371d57888f0fcfb1cb4baf2c2
BLAKE2b-256 2f562e47634a2dd198a1c02379cff7123dab16fe2b393b3df8529800ef9fea4a

See more details on using hashes here.

File details

Details for the file pymatgen-2022.3.22-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pymatgen-2022.3.22-cp310-cp310-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.10, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pymatgen-2022.3.22-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 9322277f51844803ee64fa2f680282c5f1d63346089f731385aab044aa53720a
MD5 c1cada17130e91ff18ea693fd9e79bcb
BLAKE2b-256 2b14361c28d37ae61ffa6b0f427c880d5dba1420f2076e158be627bdddf19751

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymatgen-2022.3.22-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.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pymatgen-2022.3.22-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 0737ecb837b0e328473c5589c685a919c6250c4f67d36bdc7005a9a62eb8cc80
MD5 c9fc70d6bebdacf393ce5cbea3a24b8c
BLAKE2b-256 ac168dd00af32e48f6e8af7be2bc42c1f3dc329a0b0a0db896d0353ae9fecf7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymatgen-2022.3.22-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.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.0 importlib-metadata/4.9.0 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for pymatgen-2022.3.22-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5e7c171e6971e824887fa1d1156ef1afc37c0480b32888242c14266f8a07b538
MD5 ae29cc83d96a114a7f3fb2bfa50f6f88
BLAKE2b-256 f61906c3e66636e7c8c3f0a145b8c3b0028ecc4642147e8893979805706898ac

See more details on using hashes here.

File details

Details for the file pymatgen-2022.3.22-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pymatgen-2022.3.22-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.9, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pymatgen-2022.3.22-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 3d597f5296c406776808432be5503563101c4be799a059972f1f6717fce7b31d
MD5 29d470373fdd28e98dd508e2d4424fe6
BLAKE2b-256 67a4fee8f5de2423bb94800f89d41fa550da7bd1103963a788c5bccd3641f7a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymatgen-2022.3.22-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.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for pymatgen-2022.3.22-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 99ed463aa0fcf0774d8ff70c7373b35c7b9085ca399cb5a2fa8eb0dc3f7014bd
MD5 eb9b49f673b2764e4ee992c031d6ab67
BLAKE2b-256 261d922cf8d54088b7db67b4fe3657eb670eeb55cb017c5986f19c1e5a8623f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymatgen-2022.3.22-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for pymatgen-2022.3.22-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e2cd49e3bc5b19009b017a5b658a67e54853d87fc96466d6f55c8521e947dba5
MD5 b881b68a2e200edff49db481cce172d1
BLAKE2b-256 0db44e3a67375bac705d1d0e30fb5e28b0945e89b30e498f97fccfcd7b3d5d12

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