Skip to main content

Distances and representations of persistence diagrams

Project description

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


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.

Source Distribution

persim-0.3.5.tar.gz (51.3 kB view hashes)

Uploaded Source

Built Distribution

persim-0.3.5-py3-none-any.whl (48.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page