PMG(1)
π PMG(1) β the vibe check π
okay so bestie, you opened pmg(1), which lives in the User Commands section of the manual. It's the manual page for pmg, and I'm about to make it make sense, no cap. π
π NAME π
pmg β pymatgen. that's it, that's the name. short, iconic, does what it says on the tin. β¨
π DESCRIPTION π
okay so first things first, here's literally how you call it:
usage: pmg [-h] {config,analyze,query,plot,structure,view,diff,potcar} ...
pmg is a convenient script that uses pymatgen to do a whole bunch of analyses, plotting, and format conversions. it's giving swiss army knife, it's giving main character energy. π¦
here's the tea though: this script runs on several subcommands, and every single one of them has its own options. so if you wanna see what a subcommand can do, you literally just go:
pmg sub-command -h
that's the move. don't skip it. π«Ά
πΈ positional arguments πΈ
these are the subcommands, the little guys, the squad. pick one:
{config,analyze,query,plot,structure,view,diff,potcar}β the full roster, right there in one curly-brace bundle. πconfigβ Tools for configuring pymatgen, e.g., potcar setup, modifying.pmgrc.yamlconfiguration file. it's the settings gremlin. set it up once, thank yourself later. πanalyzeβ Vasp calculation analysis tools. VASP numbers go in, understanding comes out. π₯queryβ Search for structures and data from the Materials Project. it's giving detective, it's giving let me find that structure for you bestie. π (ok the emoji is a magnifying glass, not a listed one, but the energy is correct) β¨plotβ Plotting tool for DOS, CHGCAR, XRD, etc. graphs. pretty pictures. slay. πstructureβ Structure conversion and analysis tools. converting and analyzing structures, exactly like it sounds, no plot twist. π§viewβ Visualize structures. look at them. with your eyes. iconic. πdiffβ Diffing tool. For now, only INCAR supported. for now, bestie β that's a direct quote from the manpage, not me manifesting more features. πpotcarβ Generate POTCARs. born to make POTCARs, forced to exist in a manpage. π
β¨ optional arguments β¨
-h,--helpβ show this help message and exit. the classic. the universal escape hatch. when in doubt,-hit out. π
Version: 2020.12.18
and that's the whole page, bestie. every flag, every subcommand, every crumb of info β nothing dropped, nothing invented. π
pymatgen Β· December 2020 β that's the source, the version, and the date, and that's my cute little sign-off. mwah. ππβ
π¦ where this page comes from
- debian bookworm: python3-pymatgen 2022.11.7+dfsg1-11+deb12u1 Β· MIT
- debian bookworm: python3-pymatgen 2022.11.7+dfsg1-11+deb12u2 Β· MIT
- debian trixie: python3-pymatgen 2025.2.18+dfsg1-5 Β· MIT
- ubuntu jammy: python3-pymatgen 2022.0.17+dfsg1-1build1 Β· MIT
- ubuntu questing: python3-pymatgen 2025.2.18+dfsg1-5
- ubuntu resolute: python3-pymatgen 2025.10.7+dfsg1-1ubuntu2 Β· MIT
- ubuntu stonking: python3-pymatgen 2026.5.4+dfsg1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms