Skip to content
Projets

À propos

Dépôt public officiel de PM4Py (Process Mining for Python) — une bibliothèque open source pour explorer, analyser et optimiser les processus métier avec Python.

Données et analyse

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
+1
in 7 days
+9
in 15 days
+13
in 1 month
+20

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

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

Install extras for the features you need, for example with python -m pip install "pm4py[ocel,polars]".

Extra Installs Use
calendars workalendar Business-hour calculations with holiday calendars
connectors requests Reading remote logs and importing GitHub events
drift hdbscan, river ADWIN drift detection and process version clustering
llm openai, requests Querying language model APIs
ml pyemd, scikit-learn Trace clustering and classification
ocel jsonschema, pyarrow OCEL JSON validation and Parquet import and export
polars polars Process mining with Polars DataFrames
visualization pyvis Interactive social network graphs
windows pygetwindow, pynput, pywin32 (Windows only) Outlook, Windows event logs, and desktop capture
all All feature extras above Install the feature integrations together
stable Pinned core and transitive dependencies Reproduce the dependency versions 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 linear programming solver. Algorithms such as Petri net soundness checks can use PuLP for linear and integer programming. Install PuLP separately from the PM4Py extras. PM4Py selects the matching backend for PuLP 3.x or 4.x. PuLP 4 requires Python 3.12 or newer and the CBC solver. Install both with python -m pip install "pulp[cbc]>=4,<5". You can omit [cbc] if cbc is already on your PATH. For PuLP 3.x, run python -m pip install "pulp>=3,<4".

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}
}

Legal notice

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

Explorer des projets similaires

Chargement…