Skip to main content

A small package for handling process models given as lists with their own row number and the row number of previous activityReturning a Petri Net for Process Mining / Conformance Checks

Project description

Welcome to Petrinets 4 Process Mining

handling Process Lists with a simple small package V0.0.6.2

Content:

  • Author Information
  • Description
  • Classes
  • Usage / Examples
  • Other Stuff / Last Words
  • License Information

Author Information

Description

The purpose of this package is it to offer an easy way to create a petrinet, you can use for process mining, without having a full PNML file. All you need is a simple list of your process steps, the number of your step and the number of all Previous Steps.

This is just the first Version of the Package. I will try to develop more possible outputs when i got time.

Classes

The package offers the following classes:

  • Petrinet(labels,[places, transitions, edges, inc_gateways, exc_gateways, parall_gateways])
    • output([tablename])
    • cel_out([tablename])

Usage / Examples

It's very easy to use the package. Just import the package

create your activity list with an activity, position of the activity, all direct previous activity ranges

call the Petrinet function with your list and create your outputs

from pn4pm_nano import petrinets as pn

list = [['Activity1',0,[-1]],['Activity2',1,[0]],['A....']]

petriobject = pn.Petrinet(list) print(petriobject.out()) print(petriobject.cel_out()) print(petrionject.cel_out("YourActivityTable"))

For silencing the activities just give an empty string as name

['',0,[-1]] In this case a transition is created but not returned in the frontend

Other Stuff / Last Words

If you have some issues with the package or ideas what functionalities could be added, feel free to contact me.

Changes to Last Version

  • internal fixes and optimization for gateway calculations [0.0.5.3] -> [0.0.6]
  • multiple changes on the calculations - enabled the handling of loops [0.0.5 - 0.0.5.3]
  • Added the handling of duplicated activities in the petrinet Input [0.0.4 - 0.0.5]
  • Added Handling of 'Silent' Activitys and Bug Fix in the cel_out() function [0.0.3.2 -> 0.0.4]
  • Bug Fix in function cel_out() [0.0.3.1 -> 0.0.3.2]
  • Bug Fix after calling the class Petrinet the second time [0.0.1 -> 0.0.3]

License Information

This Project is using the 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

pn4pm_nano-0.0.6.2.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

pn4pm_nano-0.0.6.2-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file pn4pm_nano-0.0.6.2.tar.gz.

File metadata

  • Download URL: pn4pm_nano-0.0.6.2.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.5

File hashes

Hashes for pn4pm_nano-0.0.6.2.tar.gz
Algorithm Hash digest
SHA256 111a42dd98e719a9cd7359664bff49c528f55f3abf252678d5e8df6ddef03e0b
MD5 439ed42327705e6e183c120217e75325
BLAKE2b-256 2ff87200ecb2bcbef3b9f1d7c7dee977276f780635a82e9e53000d4b6f73c3fd

See more details on using hashes here.

File details

Details for the file pn4pm_nano-0.0.6.2-py3-none-any.whl.

File metadata

  • Download URL: pn4pm_nano-0.0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.5

File hashes

Hashes for pn4pm_nano-0.0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 094b53f4920158e05411f131d2b0b3637bfa07de0938ae457afe0f622bf6c01e
MD5 8fb270c2b2ad68b3651af8bea0ca1677
BLAKE2b-256 4a00bd9e354a0c0ce71ec1bcb75fa615c4056471c26b7f2ea8b064119e733053

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