The package is available on the Python Package Index and can be installed using the following command.
pip install elastic-constantsThis library provides tools for computing the mechanical properties of crystal structures. Currently, only the computation of linear elastic constants is possible for all crystal classes. Additionally, the library includes a useful visualization module.
The documentation is made with Sphinx and is hosted on GitHub Pages.
This project uses uv as the package manager and tox as a task runner. After installing uv and cloning the repository, create a development environment using the following commands.
uv tool install tox --with tox-uv
uv sync --all-extras --all-groupsThe project is distributed under the terms of the BSD-2-Clause license.