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

Built distribution (wheel)

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

Total release size: 102.3 kB

Release files / persim-0.4.0.tar.gz

Download URL persim-0.4.0.tar.gz
Size 52.9 kB
Tags Source
SHA-256 checksum
How to use checksums
449c1feab317a4df06326eba156dfae7eaaf340ca2f086f18fff64892e3e16f5
BLAKE2b-256 checksum
How to use checksums
a1dd52fceccd8aa08fbaa51976e75d6a574116b28d89ec02d6358fa718ac0f03
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.0-py3-none-any.whl

Download URL persim-0.4.0-py3-none-any.whl
Size 49.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72f4d3dd4df18a822b5bea7a2df0d6638fb1522290048f84574257892c50ab05
BLAKE2b-256 checksum
How to use checksums
3b49a5fdd4598cc908c2ec4d6b6e1656601c48cf1911695a2fd5822ac25d71c1
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.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.

Full provenance

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

Select from 2 files

Attestation for persim-0.4.0.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