Skip to main content

Object-Centric and Explainable Process Mining for Python

Project description

🧠 ProcX

ProcX is a Python package for Object-Centric and Explainable Process Mining. It enables flexible modeling of real-world processes with multiple object types, activity variants, and insightful visualization tools.


📦 Installation

pip install procx

Or install from source:

git clone https://github.com/yourusername/procx.git
cd procx
pip install .

🚀 Features

  • Load and flatten OCEL logs
  • Filter events by object type, activity, and time
  • Generate object-centric graphs
  • Visualize variant frequencies
  • Explore metrics interactively via dashboard

🛠️ Basic Usage

from procx.io.loader import load_ocel_json
from procx.preprocessing.transformer import flatten_ocel
from procx.ocpm.model_builder import build_object_graph

# Load event log
events, objects = load_ocel_json("your_file.json")

# Flatten for a specific object type
flat_df = flatten_ocel(events, "Patient")

# Build and analyze graph
G = build_object_graph(flat_df)

📊 Run the Dashboard

cd dashboard
streamlit run app.py

Upload your OCEL JSON file and interactively filter, analyze, and download results.


🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Open a pull request

📄 License

MIT License

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

procx-0.1.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

procx-0.1.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file procx-0.1.0.tar.gz.

File metadata

  • Download URL: procx-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for procx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b8eb5620bd12edd7c6fa2114c28eeacf4f9b57a6d3a539e9cdac6bcb24d2a9c1
MD5 4e56c0c7b57e305abff03435d93aecbc
BLAKE2b-256 39720cbb7f576c8e119582088285346ca577249448fb63581ebada0c7e0fc1f4

See more details on using hashes here.

File details

Details for the file procx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: procx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for procx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96e3c0265eebb018e41f6b7b5c9cbd92ff8173242a526181ecd360fe170ddfe9
MD5 2eb59cedadf6c8b5c9bb9ae078bfec0a
BLAKE2b-256 9319431a4f2b51ca360678c96a26077d1ea5ad5caef6ffd731131a82d3fd8428

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