MohrCirclePlotter
A Python library to plot Mohr's circle
⚠️ Disclaimer
This software is provided for educational and research purposes only. Results produced by this package should not be used as the sole basis for engineering design decisions without independent verification by a qualified professional engineer.
THE AUTHORS AND CONTRIBUTORS ACCEPT NO LIABILITY for any damages, losses, or consequences arising from the use or misuse of this software. See LICENSE for full terms.
Installation
pip install mohrcircleplotter
Documentation
Mohr's circles are plotted on a matplotlib plot. If these circles are stresses at failure, a Mohr-Coulomb failure envelope can be estimated. More details can be found in https://e-mags.github.io/MohrCirclePlotter/
from mohrcircleplotter import MohrPlot
plot = MohrPlot(halfplot=True,show_tension=True, units='MPa')
# Define some circles (sigma_x, sigma_y, tau_xy)
circles = [
(80, 30, 30),
(60, 20, 20),
(40, 10, 10)
]
for sigma_x, sigma_y, tau_xy in circles:
plot.oriented_circle(sigma_x, sigma_y, tau_xy)
# Estimate and plot the Mohr-Coulomb failure envelope
plot.estimated_mc_envelope()
Metadata
Release files for mohrcircleplotter 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mohrcircleplotter-0.0.1.tar.gz | 326.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mohrcircleplotter-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 335.9 kB
Release files / mohrcircleplotter-0.0.1.tar.gz
| Download URL | mohrcircleplotter-0.0.1.tar.gz |
|---|---|
| Size | 326.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ba4d6be41583e8ed1d7495589c964ca98ed162295e3315ae051a66eaa165127
|
|
BLAKE2b-256 checksum How to use checksums |
afee6ace9804b2d61daf449903cefb74a85e1c3b9d87f2dc7d97285fc370268a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2026.
Transparency logRelease files / mohrcircleplotter-0.0.1-py3-none-any.whl
| Download URL | mohrcircleplotter-0.0.1-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f2ef84bbfb37aa1181ff1b8f78701905bc587f63ddb59ccecea2f005d77ab6c
|
|
BLAKE2b-256 checksum How to use checksums |
70b85519ad68b86edb24dc6499a0ff9305f5c4d400d8cdfc5d29f930f7dc0934
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2026.
Transparency log