Comparison
diffpy.structure vs gemmi vs mmcif-pdbx vs pymatgen
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Crystal structure container and parsers for structure formats.
Actively maintained. Last release 12 days ago, commits in 4 of the last 26 weeks. A safe choice.
pip install diffpy-structurelibrary for structural biology
Maintained. Last release 9 months ago, commits in 8 of the last 26 weeks. Weaker on release cadence.
pip install gemmiPython utilities for PDBx/mmCIF storage model
Maintained. Last release 7 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install mmcif-pdbxPython 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).
Actively maintained. Last release 6 weeks ago, commits in 17 of the last 26 weeks. A safe choice.
pip install pymatgenIn short
- gemmi is the most used: 1.8M downloads a month.
- pymatgen is better maintained: Pythie’s Index 81 against 59.
- diffpy.structure is growing fastest: downloads +106% over the last month.
Side by side
| Metric | diffpy.structure | gemmi | mmcif-pdbx | pymatgen |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 75 | 59 |