Skip to main content

PyPI version PyPI - Downloads Conda Version Conda Downloads codecov License: MIT

Persim is a Python package for many tools used in analyzing Persistence Diagrams. It currently houses implementations of

  • Persistence Images
  • Persistence Landscapes
  • Bottleneck distance
  • Modified Gromov–Hausdorff distance
  • Sliced Wasserstein Kernel
  • Heat Kernel
  • Diagram plotting

Setup

The latest version of persim can be found on Pypi and installed with pip:

pip install persim

Documentation and Usage

Documentation about the library, it's API, and examples of how to use it can be found at persim.scikit-tda.org.

Contributions

We welcome contributions of all shapes and sizes. There are lots of opportunities for potential projects, so please get in touch if you would like to help out. Everything from an implementation of your favorite distance, notebooks, examples, and documentation are all equally valuable so please don't feel you can't contribute.

To contribute please fork the project make your changes and submit a pull request. We will do our best to work through any issues with you and get your code merged into the main branch.

Metadata

Release files for persim 0.4.3

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

Source distribution (sdist)

Source distribution for persim 0.4.3
File Size Uploaded Provenance Actions
persim-0.4.3.tar.gz 54.7 kB With provenance Details for persim-0.4.3.tar.gz

Built distribution (wheel)

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

Total release size: 104.3 kB

Release files / persim-0.4.3.tar.gz

Download URL persim-0.4.3.tar.gz
Size 54.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f0c0de3fca45ff0ed0013a2241f04bf3cd837dfec1b55a4afb19189b201f515e
BLAKE2b-256 checksum
How to use checksums
a5f008ae14e22be945b475768ed3574ce1c444003f1411908866fc828a1d1ad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 3, 2026.

Transparency log

Release files / persim-0.4.3-py3-none-any.whl

Download URL persim-0.4.3-py3-none-any.whl
Size 49.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
179c2faafc4bf4b9a46e7482b7c5df591e414e6ad86e61e470592d984b6b3af9
BLAKE2b-256 checksum
How to use checksums
1b089d962cd791c1b87a11601ae85ef6e661dc3ac4ea75e2a2d4afa38f423570
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 3, 2026.

Transparency log

Security for persim 0.4.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for persim-0.4.3.tar.gz

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 Dec 3, 2026.

Transparency log

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.

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