Comparison
diffpy.structure 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-structurePython 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
- pymatgen is the most used: 1.2M downloads a month, 16× more than diffpy.structure.
- Maintenance is comparable: pymatgen 81, diffpy.structure 75 on Pythie’s Index.
- diffpy.structure is growing fastest: downloads +106% over the last month.
- Safe default for a new project: pymatgen.
Side by side
| Metric | diffpy.structure | pymatgen |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 75 | 81 |