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.0.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.0.0
File Size Uploaded Provenance Actions
elasticipy-8.0.0.tar.gz 4.3 MB Without provenance Details for elasticipy-8.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 4.4 MB

Release files / elasticipy-8.0.0.tar.gz

Download URL elasticipy-8.0.0.tar.gz
Size 4.3 MB
Tags Source
SHA-256 checksum
How to use checksums
340cd818b97a5e3b3b13b08b061a126044c6fb6c39a97327eda6ed45681f6be7
BLAKE2b-256 checksum
How to use checksums
f69f2be93d4142cbcee0ac60f6ca00a953d494b4a6280f5307df35700984a039
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.0.0-py3-none-any.whl

Download URL elasticipy-8.0.0-py3-none-any.whl
Size 174.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ddab6d91680a38ccc9846990d3c4f6852b09f626260a2d6ad02cd9e12e2a149
BLAKE2b-256 checksum
How to use checksums
db4a837f77b7957c499bab9ef9344de117d39fb62ce28b6e94c4f49ed1f998cb
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.0.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.0.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