Skip to main content

Object-Centric and Explainable Process Mining

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: procx-0.1.1.tar.gz
  • Upload date:
  • Size: 2.2 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.1.tar.gz
Algorithm Hash digest
SHA256 25ccb2820f5626dfa066db8ffc78228e743866283010c55524adab9e52b26e75
MD5 2b8c290ac90844f2d1dc99a5ad1657ce
BLAKE2b-256 b2f2f3c0836365108db60c7d062057ce7c0d83c55d0fb3898b26362f85469e73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: procx-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 64eadebceb7af65139c469763866298fbcab1c3a70531d335ec5da39e6d184bb
MD5 3ff18030ac916216dc357462f1127dcc
BLAKE2b-256 0cc8f33a892ba32febfa35bce97347b11cb228f911035e035d965ba714a08a39

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