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.1.tar.gz (146.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.1-py3-none-any.whl (165.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pl4pm-0.2.1.tar.gz
  • Upload date:
  • Size: 146.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.1.tar.gz
Algorithm Hash digest
SHA256 5e9c979f4fc67ad524f7257f8e0957c15f17e578786be4879af56ec13fbacc7b
MD5 92db96a06f0bbf50450006d83e1e31a6
BLAKE2b-256 4362659181600560e18261811d7e4dc7d3c5ae5158a7b1a74efbc891b659525a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pl4pm-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 165.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44819d7ad50e217c23d21a86951a64645d5bbe36b0dd9464335deac97914d65b
MD5 429c2270575079810f7be24e781b49be
BLAKE2b-256 7c0b62355aa6e124121b886c33d0ab08bdb1f0f1d7e8c4aa172d1fb6757fa4a1

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