This is the phonopy module.
Actively maintained. Last release 9 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install phonopyPhonopy
Phonon code mainly written in Python, with the compute-intensive parts handled by the Rust backend (phonors). Phonopy user documentation is found at http://phonopy.github.io/phonopy/
Installation
See https://phonopy.github.io/phonopy/install.html.
Mailing list for questions
Usual phonopy questions should be sent to phonopy mailing list (https://sourceforge.net/p/phonopy/mailman/).
Development
The development of phonopy is managed on the main branch of the github phonopy
repository.
- Github issues is the place to discuss about phonopy issues.
- Github pull request is the place to request merging source code.
- Architecture principles and the migration plan toward v5/v6 are documented at https://phonopy.github.io/phonopy/development.html.
Formatting
Formatting rules are found in pyproject.toml.
pre-commit
Pre-commit (https://pre-commit.com/) is mainly used for applying the formatting rules automatically. Therefore, it is strongly encouraged to use it at or before git-commit. Pre-commit is set-up and used in the following way:
- Installed by
pip install pre-commit,conda install pre-commitor see https://pre-commit.com/#install. - pre-commit hook is installed by
pre-commit install.