Skip to main content

Distances and representations of persistence diagrams

Project description

PyPI version Downloads Conda Version Conda Downloads Build Status 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


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


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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for persim, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size persim-0.3.1.tar.gz (50.4 kB) File type Source Python version None Upload date Hashes View
Filename, size persim-0.3.1-py3-none-any.whl (48.0 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page