Skip to main content

PyPI - Version PyPI - Downloads Conda Version Conda Downloads GitHub commit activity GitHub Repo stars PyPI - License ReadTheDoc codecov PyPI - Python Version DOI Binder

Elasticipy

A python toolkit to manipulate stress and strain tensors, and other linear elasticity-related tensors (e.g. stiffness). This package also provides a collection of easy-to-use and very fast tools to work on stress and strain tensors.

🚀 Main features

Among other features, this package implements:

  • Computation of elasticity tensors,
  • Analysis of elastic anisotropy and wave propagation,
  • Working with multidimensional arrays of tensors,
  • Thermal expansion tensors,
  • Rotation of tensors,
  • Integration with crystal symmetry groups,
  • Visualization and tutorials for ease of use,
  • A graphical user interface to plot the spatial dependence of engineering constants,
  • Compatibility with the Materials Project API, pymatgen, orix and Damask,
  • Crystallographic texture -based calculations,
  • Implementation of common yield criteria, such as von Mises, Tresca, Drucker-Prager and Mohr-Coulomb,
  • Finite strains (a.k.a large strains) and hyperelasticity.

🐍 Installation

Elasticipy can be installed with PIP:

pip install elasticipy

On anaconda, one can also use:

conda install conda-forge::elasticipy

📚 Documentation

Tutorials and full documentation are available on ReadTheDoc.

⏱️ Elasticipy in a nutshell

Take a 5-minute tour through Elasticipy's main features by running the online Jupyter Notebook, hosted on Binder.

🔍 Sources

The source code is available on GitHub under the MIT licence.

☔ Tests and Code Coverage

The project uses unit tests with pytest and coverage reports generated using coverage. These reports are hosted on codecov.

Coverage Exclusions

Certain parts of the code, particularly those related to graphical user interfaces (GUIs) or visual plotting, are excluded from code coverage analysis. This includes the following files:

  • src/Elasticipy/gui.py
  • src/Elasticipy/_plotting_tools.py

🎓 Cite this package

If you use Elasticipy, please cite DOI

You can use the following BibTeX entry:

@article{Elasticipy, 
    doi = {10.21105/joss.07940}, 
    url = {https://doi.org/10.21105/joss.07940}, 
    year = {2025}, 
    publisher = {The Open Journal}, 
    volume = {10}, 
    number = {115}, 
    pages = {7940}, 
    author = {Depriester, Dorian and Kubler, Régis}, 
    title = {Elasticipy: A Python package for linear elasticity and tensor analysis}, 
    journal = {Journal of Open Source Software}
}

Alternatively, you can by me a coffee on ko-fi

Metadata

Release files for elasticipy 8.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for elasticipy 8.1.0
File Size Uploaded Provenance Actions
elasticipy-8.1.0.tar.gz 4.3 MB Without provenance Details for elasticipy-8.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for elasticipy 8.1.0
File Interpreter ABI Platform Actions
elasticipy-8.1.0-py3-none-any.whl Python 3 none any Details for elasticipy-8.1.0-py3-none-any.whl

Total release size: 4.5 MB

Release files / elasticipy-8.1.0.tar.gz

Download URL elasticipy-8.1.0.tar.gz
Size 4.3 MB
Tags Source
SHA-256 checksum
How to use checksums
cd68e9b433a099a7251ae75c86d3f7731e98b24b080392eef379ea1545d033e2
BLAKE2b-256 checksum
How to use checksums
e2e067a1367c4617008782faa7e0101655e461ff30b64a774fcfa1a5a01d600b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / elasticipy-8.1.0-py3-none-any.whl

Download URL elasticipy-8.1.0-py3-none-any.whl
Size 179.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d83564fcce9e19a61b087e948b12836802395df7d272de89619018a6f2b0c9ec
BLAKE2b-256 checksum
How to use checksums
b58bba5a7c028a4f5f85327597c66e0f1fd7c1690a8c6e91dfc8a5bd9272d22b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for elasticipy 8.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

8.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page