phonopy
This is the phonopy module.
Decision gist · record as of 2026-08-14
Yes, if you work in computational materials science or lattice dynamics. Phonopy is actively maintained, has no known vulnerabilities, and offers a mature, well-documented workflow for phonon calculations. Medium install friction is manageable given the pre-built wheels and clear dependency chain. The BSD-3-Clause license poses no commercial restrictions. Install only if your workflow requires phonon analysis; it is not a general-purpose tool.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python ≥3.10.
- The Rust backend (phonors) is pre-compiled in wheels; source builds require a Rust toolchain.
- Medium install friction due to 7 runtime dependencies including numpy, h5py, spglib, symfc, and phonors (a Rust backend).
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is a permissive license allowing commercial and private use with minimal restrictions; you may use, modify, and distribute phonopy provided you retain the license notice and disclaimer.
last release 2026-07-17 (28 days) · last repo commit 2026-08-14 · 488 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 243,389 downloads/mo, #8,799 on PyPI
Alternatives
Verify before relying
pip install phonopy
import phonopy
from phonopy import load
phonon = load('phonopy_disp.yaml')- Specific phonon calculation methods supported (e.g., finite displacement, linear response, ab initio coupling)
- Performance characteristics or benchmarks for typical crystal sizes or supercell dimensions
- Integration points with other ab initio codes (VASP, Quantum ESPRESSO, etc.) beyond what the description mentions
What it is and what it does
Phonopy is a Python package for calculating phonon properties and vibrational spectra in crystalline materials. It combines Python for orchestration and user-facing workflows with a Rust backend (phonors) for compute-intensive operations, enabling efficient calculation of phonon dispersions, density of states, thermal properties, and related quantities. The package supports multiple crystal structure file formats and integrates with visualization tools like matplotlib and h5py for data storage.
Typically used by materials scientists and computational physicists to predict lattice dynamics from first-principles calculations or empirical potentials. It handles the full pipeline from structure input through phonon analysis, with dependencies on numpy for numerical operations, spglib for symmetry analysis, symfc for force constants, and PyYAML for configuration. Active development and a mature codebase (since 2016) make it a standard tool in computational materials science workflows.
Use it for
- Calculate phonon band structures and density of states for crystal materials to understand vibrational properties.
- Compute thermal properties (heat capacity, entropy, free energy) from phonon frequencies across temperature ranges.
- Analyze lattice dynamics and identify vibrational modes in materials for spectroscopy comparison or stability assessment.
- Generate input files and manage workflows for phonon calculations from ab initio or empirical force fields.
- Study anharmonic effects and phonon interactions using force constants from symfc integration.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work in computational materials science or lattice dynamics.
Phonopy is actively maintained, has no known vulnerabilities, and offers a mature, well-documented workflow for phonon calculations. Medium install friction is manageable given the pre-built wheels and clear dependency chain. The BSD-3-Clause license poses no commercial restrictions. Install only if your workflow requires phonon analysis; it is not a general-purpose tool.
Install
phonopy on PyPI
Before you install
Medium install friction due to 7 runtime dependencies including numpy, h5py, spglib, symfc, and phonors (a Rust backend). Pre-built wheels available for Python 3.10–3.14 across macOS, Linux, and Windows. Active maintenance with a release 28 days old.
Requires Python ≥3.10. The Rust backend (phonors) is pre-compiled in wheels; source builds require a Rust toolchain.
License in practice
BSD-3-Clause is a permissive license allowing commercial and private use with minimal restrictions; you may use, modify, and distribute phonopy provided you retain the license notice and disclaimer.
Quickstart
pip install phonopy
import phonopy
from phonopy import load
phonon = load('phonopy_disp.yaml')
Verify before relying
- Specific phonon calculation methods supported (e.g., finite displacement, linear response, ab initio coupling)
- Performance characteristics or benchmarks for typical crystal sizes or supercell dimensions
- Integration points with other ab initio codes (VASP, Quantum ESPRESSO, etc.) beyond what the description mentions
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 7 packagesnumpyPyYAMLmatplotlibh5pyspglibsymfcphonors |
| Maintenance | Actively maintained 28 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 243,389 / month, #8,799 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: phonopy-4.4.0-cp310-cp310-macosx_11_0_arm64.whl; phonopy-4.4.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; phonopy-4.4.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; phonopy-4.4.0-cp310-cp310-win_amd64.whl; phonopy-4.4.0-cp311-cp311-macosx_11_0_arm64.whl; phonopy-4.4.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; phonopy-4.4.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; phonopy-4.4.0-cp311-cp311-win_amd64.whl; phonopy-4.4.0-cp311-cp311-win_arm64.whl; phonopy-4.4.0-cp312-cp312-macosx_11_0_arm64.whl; phonopy-4.4.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; phonopy-4.4.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; phonopy-4.4.0-cp312-cp312-win_amd64.whl; phonopy-4.4.0-cp312-cp312-win_arm64.whl; phonopy-4.4.0-cp313-cp313-macosx_11_0_arm64.whl; phonopy-4.4.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; phonopy-4.4.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; phonopy-4.4.0-cp313-cp313-win_amd64.whl; phonopy-4.4.0-cp313-cp313-win_arm64.whl; phonopy-4.4.0-cp314-cp314-macosx_11_0_arm64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “phonon dispersion calculation”
- phonopyPhonopy calculates phonon properties and vibrational spectra for…
- phonorsPhonors provides Rust-accelerated numerical kernels for phonopy and…
- symfcSymfc computes force constants from atomic displacement-force…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also phonors · symfc · atomate2 · vasprun-xml · seekpath · chgnet · mp-api · moyopy · sparsediffpy · pyxtal