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.1

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.1
File Size Uploaded Provenance
persim-0.4.1.tar.gz 53.4 kB With provenance Details

Built distribution (wheel)

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

Total release size: 102.7 kB

Release files / persim-0.4.1.tar.gz

Download URL persim-0.4.1.tar.gz
Size 53.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d44d19c18699165c5deb5225200207f6282fbf1efb90c8dab84574ef5d24f806
BLAKE2b-256 checksum
How to use checksums
d846d6dd0026ae050fe6871bdbcb0bb1ebe75df95fe343579c4a52d4b5204887
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

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

Download URL persim-0.4.1-py3-none-any.whl
Size 49.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70b720dfb9fabf2c401860330de232b0631d629641fe1569d992baf9ac56cacc
BLAKE2b-256 checksum
How to use checksums
842f1ad548696a7adb9eaccce88242c48753c848a4cee71a1e14679b57ebc6f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Security for persim 0.4.1

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for persim-0.4.1.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 Oct 18, 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