Skip to main content

MicroPM4Py - Process Mining for Micro-Controllers

Project description

# MicroPM4Py

## Introduction

MicroPM4Py is a Python 3/Micropython library that aims to take Process Mining features in power/feature constrained environments, including microcontrollers and embedded systems.

The set of supported features is minimal in comparison to other process mining libraries, like PM4Py, and require no Python dependencies to work.

Official website: [https://www.micropm4py.org](https://www.micropm4py.org)

Micropython website: [https://micropython.org](https://micropython.org)

## Target Hardware

MicroPM4Py can be virtually run on any hardware, even very old or with very low resources/power consumption or embedded systems, since it is compatible with the Python3/Micropython stacks.

MicroPM4Py has been tested at less than 1 MHz on the Unicorn emulator (CPU: Cortex M3, stack: 8 kb, RAM: 64 kb).

MicroPM4Py has been physically tested on a Raspberry Pi 3 B+ (4xA53 @ 1.4 GHz, 1 GB LPDDR2 RAM).

## Installation

On any platform running Python 3: the installation can be easily performed using PIP: pip install -U micropm4py

On Micropython controllers / embedded systems: follow the instructions of your specific board (see the Micropython website). In particular, given the resource constrained environments, some ad-hoc cutting-and-paste of code needs to be done (for example, combining in a single script the XES, PNML and token-based replay).

## Features

Log importing/exporting

  • XES importer (level A-1, only case ID and activity)

  • XES exporter (level A-1, only case ID and activity)

  • CSV importer (only case ID and activity, support for the specification of the separator)

  • CSV exporter (only case ID and activity, support for the specification of th separator

  • Importing of DFGs from XES (without keeping the log in-memory)

  • Importing of DFGs from CSV (without keeping the log in-memory)

  • Importing/Exporting of .dfg files

  • Support for the insertion of artificial start-end activities

  • Conversion of log to DFG

  • Petri Nets

Execution semantics * Token-based replay (without support for invisible transitions) * Alignments (without support for invisible transitions) * Importing of PNML files * Exporting of PNML files * Conversions

Conversion of DFG to Petri net (DFG mining) * Conversion of MicroPM4Py DFG to PM4Py DFG * Conversion from/to MicroPM4Py log to PM4Py log * Conversion from/to MicroPM4Py Petri nets to PM4Py Petri nets * Visualizations

Visualizations * DOT visualization of DFGS * DOT visualization of Petri nets

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

micropm4py-0.2.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

micropm4py-0.2.0-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

Details for the file micropm4py-0.2.0.tar.gz.

File metadata

  • Download URL: micropm4py-0.2.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3

File hashes

Hashes for micropm4py-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b62a517993475f98ec6ba25afbf8ff81bd39cdac00e62e6ec65297fe2825efa1
MD5 a89b15b48e1dde9b3cf63f8cfd848b0b
BLAKE2b-256 8a068d93b9cac27ff9354b91960e70260efd9beb08b623532d3a4e7e6823c361

See more details on using hashes here.

File details

Details for the file micropm4py-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: micropm4py-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 35.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3

File hashes

Hashes for micropm4py-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14facde9dc4b08d97e152b285583a314d82025ec76efcd32418f2e9523ae2ccd
MD5 da0e19e2cae977d7381585f7123ee8b8
BLAKE2b-256 cb4317a4ce7b9a2a07d88bc3bc10e8d0aaa9e352fd3a3cb50a1514bb9ef98f03

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