Go to file
Atsushi Togo 098b7e0e2a GR-grid matrices are saved in hdf5 files 2022-02-15 17:47:16 +09:00
.github Update github workflows 2022-02-13 20:17:37 +09:00
c enh: major refactoring of setup.py 2021-12-07 10:18:55 +01:00
conda Update python and package version requirements 2021-11-02 22:53:53 +09:00
doc Set version v2.2.0 2022-02-13 14:23:11 +09:00
example Introduce isort 2021-10-23 11:35:40 +09:00
phono3py GR-grid matrices are saved in hdf5 files 2022-02-15 17:47:16 +09:00
scripts Refactoring 2021-11-02 22:08:54 +09:00
test GR-grid matrices are saved in hdf5 files 2022-02-15 17:47:16 +09:00
.gitignore Updated document toward v2 release 2021-07-21 10:39:47 +09:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2021-12-27 22:04:19 +00:00
CMakeLists.txt Made cmake options to select compiled libraries 2021-04-20 18:59:26 +09:00
LICENSE Add LICENSE file and include it in package by MANIFEST.in 2016-11-29 09:02:48 +09:00
MANIFEST.in Update MANIFEST.in 2021-02-21 15:11:26 +01:00
README.md Introduce isort 2021-10-23 11:35:40 +09:00
get_nanoversion.sh Deploy test 2020-05-03 00:34:21 +09:00
pyproject.toml enh: major refactoring of setup.py 2021-12-07 10:18:55 +01:00
requirements.txt Set version v2.2.0 2022-02-13 14:23:11 +09:00
setup.py Set version v2.2.0 2022-02-13 14:23:11 +09:00

README.md

Version Badge Downloads Badge PyPI version PyPI codecov

phono3py

A simulation package of phonon-phonon interaction related properties. Phono3py user documentation is found at http://phonopy.github.io/phono3py/.

Mailing list for questions

Usual phono3py questions should be sent to phonopy mailing list (https://sourceforge.net/p/phonopy/mailman/).

Development

The development of phono3py is managed on the develop branch of github phono3py repository.

  • Github issues is the place to discuss about phono3py issues.

  • Github pull request is the place to request merging source code.

  • Python 3.7 will be the minimum requirement soon.

  • Formatting is written in pyproject.toml.

  • Not strictly, but VSCode's settings.json may be written like

    "python.linting.flake8Enabled": true,
    "python.linting.flake8Args": ["--max-line-length=88", "--ignore=E203,W503"],
    "python.linting.enabled": true,
    "python.linting.pylintEnabled": false,
    "python.linting.mypyEnabled": true,
    "python.linting.pycodestyleEnabled": false,
    "python.linting.pydocstyleEnabled": true,
    "python.formatting.provider": "black",
    "python.formatting.blackArgs": ["--line-length=88"],
    "python.sortImports.args": ["--profile", "black"],
    "[python]": {
        "editor.codeActionsOnSave": {
        "source.organizeImports": true
      },
    }
    
  • Use of pre-commit (https://pre-commit.com/) is encouraged.

    • Installed by pip install pre-commit, conda install pre_commit or see https://pre-commit.com/#install.
    • pre-commit hook is installed by pre-commit install.
    • pre-commit hook is run by pre-commit run --all-files.

Documentation

Phono3py user documentation is written using python sphinx. The source files are stored in doc directory. Please see how to write the documentation at doc/README.md.

How to run tests

You need pytest. At home directory of phono3py after setup,

% pytest