Skip to main content

# 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)

  • 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) * 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

Metadata

Release files for micropm4py 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for micropm4py 0.1
File Size Uploaded
micropm4py-0.1.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for micropm4py 0.1
File Interpreter ABI Platform
micropm4py-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 28.7 kB

Release files / micropm4py-0.1.tar.gz

Download URL micropm4py-0.1.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7f558f0d0d9249f15c8f640b124d9a1539ba4291673d09334e8b4b13f107f6b9
BLAKE2b-256 checksum
How to use checksums
50479fef51929172b569154a4da7f22e487ac3a162f93d5ca6860547ee5eae83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

Release files / micropm4py-0.1-py3-none-any.whl

Download URL micropm4py-0.1-py3-none-any.whl
Size 19.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
822f9d0ed5dab40a710cc16736e629df9f6b2e853b04f4d331ed948b08f6cdcb
BLAKE2b-256 checksum
How to use checksums
00c195794ea939091dcdb35819cbc4fd0d4a2ebfd05a2ca386146c6d6e717a63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

Release history Release notifications | RSS feed

0.2.1

2 release files

0.2.0

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

This release

0.1 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page