Skip to main content

Polars for Process Mining — high-performance process mining library

Project description

pl4pm

pl4pm is a Python process mining library built around Polars.

Install

pip install .

For editable development:

pip install -e .

Optional visualization and graph extras:

pip install ".[viz,nx]"

Publish to PyPI

Create a local .env from .env.example and place your token there.

Publish to real PyPI:

/root/project/pm4py_polars/PL4PM_project/.venv/bin/python scripts/publish_pypi.py --repository pypi

Publish to TestPyPI:

/root/project/pm4py_polars/PL4PM_project/.venv/bin/python scripts/publish_pypi.py --repository testpypi

Quick start

import pl4pm

log = pl4pm.read_csv(
    "event_log.csv",
    case_id_col="case:concept:name",
    activity_col="concept:name",
    timestamp_col="time:timestamp",
)

dfg = pl4pm.discover_dfg(log)
pl4pm.save_vis_dfg(*dfg, "dfg.png")

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

pl4pm-0.2.2.tar.gz (174.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pl4pm-0.2.2-py3-none-any.whl (184.4 kB view details)

Uploaded Python 3

File details

Details for the file pl4pm-0.2.2.tar.gz.

File metadata

  • Download URL: pl4pm-0.2.2.tar.gz
  • Upload date:
  • Size: 174.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pl4pm-0.2.2.tar.gz
Algorithm Hash digest
SHA256 9fe2035b66edb516575aecda14bd9e82b7067199daadf767a2deece6c12793d0
MD5 349ec68a24df0c5883eb4076c0c40ae9
BLAKE2b-256 19544e47b39e2346d533f8bb1fbd505e01a658ea86dfd321a68f96f07afa9b59

See more details on using hashes here.

File details

Details for the file pl4pm-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: pl4pm-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 184.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pl4pm-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 67181c18f67b428b803906dcc660cbc92d4e8663908d203ae57fd16764341ea1
MD5 0d45996d21355fb8dc9e170d843d83a6
BLAKE2b-256 02ac827ffbf4e3a657f57fe72c3217f19e7aaa2b6499bad7ddeebab4861d5dbe

See more details on using hashes here.

Supported by

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