Skip to main content

PM4Py

PyPI version Python versions License: AGPL-3.0 DOI

PM4Py is a Python library providing state-of-the-art algorithms and tools for process mining.

It is developed and maintained by Process Intelligence Solutions GmbH (PIS).

Getting started

Installation instructions, tutorials, and the full documentation are maintained on the PM4Py website:

License

The open-source version of PM4Py, available on GitHub, is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).

A separate version of PM4Py is available for commercial use in closed-source environments under a different license. See PM4Py Licensing for details.

Optional dependencies

The default installation covers mainstream usage. Additional integrations are grouped by feature in pyproject.toml:

Extra Installs
calendars workalendar
connectors requests
llm openai, requests
ml pyemd, scikit-learn
ocel jsonschema, pyarrow
polars polars (dataframe support)
solvers cvxopt
visualization pyvis
windows pygetwindow, pynput, pywin32 (Windows only)

The stable extra pins the exact dependency versions validated by the project and used in CI.

Polars

Polars 1.40.1 and 2.x are supported. Joins used in filtering and enrichment preserve event order, including when lazy queries run on the streaming engine (the default in Polars 2.0).

PuLP

SciPy is the default LP solver; PuLP is optional. If PuLP is installed, PM4Py selects the matching backend for PuLP 3.x or 4.x. PuLP 4 requires CBC to be installed separately, either with python -m pip install "pulp[cbc]" or by putting cbc on your PATH.

Release notes

See CHANGELOG.md for incremental updates.

Contributing

Before contributing, please review the contributing guidelines and Contributor License Agreement (CLA).

For a source checkout, install the project with python -m pip install -e .. Build, CI, and lint dependencies are standard dependency groups and can be installed with, for example, python -m pip install --group lint (requires pip 25.1 or later).

Third-party dependencies

As a scientific library in the Python ecosystem, PM4Py relies on external libraries. The licenses of all direct dependencies are in the third_party/ folder, and third_party/LICENSES_TRANSITIVE lists every transitive dependency with its license.

Citing PM4Py

If you use PM4Py in your scientific work, please cite:

Alessandro Berti, Sebastiaan van Zelst, and Daniel Schuster (2023). PM4Py: A process mining library for Python. Software Impacts, 17, 100556. https://doi.org/10.1016/j.simpa.2023.100556

DOI | Article

BibTeX:

@article{pm4py,
  title   = {{PM4Py}: A process mining library for {Python}},
  author  = {Berti, Alessandro and van Zelst, Sebastiaan and Schuster, Daniel},
  journal = {Software Impacts},
  volume  = {17},
  pages   = {100556},
  year    = {2023},
  issn    = {2665-9638},
  doi     = {10.1016/j.simpa.2023.100556},
  url     = {https://www.sciencedirect.com/science/article/pii/S2665963823000933}
}

This repository is managed by Process Intelligence Solutions GmbH. Further information about PIS is available at processintelligence.solutions.

Metadata

Release files for pm4pyminimal 2.7.23.13

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

Source distribution (sdist)

Source distribution for pm4pyminimal 2.7.23.13
File Size Uploaded Provenance Actions
pm4pyminimal-2.7.23.13.tar.gz 1.2 MB Without provenance Details for pm4pyminimal-2.7.23.13.tar.gz

Built distribution (wheel)

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

Total release size: 4.0 MB

Release files / pm4pyminimal-2.7.23.13.tar.gz

Download URL pm4pyminimal-2.7.23.13.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
bb7b0a07b79d213961e20a018ae0230602bca5167b610208d8d327f79fdfb5bb
BLAKE2b-256 checksum
How to use checksums
452024bfade00259f4505ace344819cdd7e02aadf42f5069d38e89ff3e858f72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / pm4pyminimal-2.7.23.13-py3-none-any.whl

Download URL pm4pyminimal-2.7.23.13-py3-none-any.whl
Size 2.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8c99d723af71ee94e5c30e6c7781555f317668f7776322db5ba258514e56f86b
BLAKE2b-256 checksum
How to use checksums
ca5e8abb11539961fbe8a4e7d8d41a9e90d6903a5535b30c1c786a01132c33b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for pm4pyminimal 2.7.23.13

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

2.7.23.13 This release

2 release files No provenance

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