Skip to content

Commit 48ec13b

Browse files
Merge pull request #508 from pm4py/ft-change-to-agpl
Changing license to AGPL
2 parents 0363048 + d1a53b2 commit 48ec13b

File tree

1,316 files changed

+21551
-14652
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,316 files changed

+21551
-14652
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
11
# Changelog of pm4py
22

33

4-
## pm4py 2.7.12 (2024.03.XX)
4+
## pm4py 2.7.12 (2024.03.21)
55

66
### Added
7+
* 458ee9abf2fc155a7531be96992c9a0c27f8cb81
8+
* maximum number of consecutive occurrences of the same activity in pm4py.get_variants
9+
* b4c914722605b37f787e156f407ea9333a8dd959
10+
* more general between and activity split filters
711

812
### Changed
13+
* 100b95c22a47eace59fc631541b2c34c9179765d
14+
09d4e7a07f92fddd90c1b1bbe572308380d7c8f3
15+
* changed BPMN visualizer
16+
* f7b44a41a79760e4f092be2bf98087ea48b63de4
17+
* changed BPMN conversion
18+
* db98b6fbf16847eceab4b53216cc1a1096936785
19+
* improved BPMN support (collaboration, gateways, ...)
920

1021
### Deprecated
1122

@@ -14,6 +25,10 @@
1425
* fixing random variables support
1526
* bb759da149b434d0e279256c8c6d397b06079729
1627
* fixing sampling
28+
* a816fb5f000a907b603b44aba1470463109028f0
29+
* bug fix OC-DFG visualization
30+
* 419a95362472c0807b73f4eb3d601f70b3d7c986
31+
* bug fix POWL visualizer
1732

1833
### Removed
1934

LICENSE

Lines changed: 94 additions & 91 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
# pm4py
2-
pm4py is a python library that supports (state-of-the-art) process mining algorithms in python.
3-
It is open source (licensed under GPL) and intended to be used in both academia and industry projects.
4-
pm4py is managed and developed by Process Intelligence Solutions (https://processintelligence.solutions/).
5-
pm4py was initially developed at the Fraunhofer Institute for Applied Information Technology FIT.
1+
# PM4Py
2+
PM4Py is a python library that supports state-of-the-art process mining algorithms in python.
3+
It is open source and intended to be used in both academia and industry projects.
4+
5+
PM4Py is managed and developed by Process Intelligence Solutions (https://processintelligence.solutions/),
6+
a spin-off from the Fraunhofer Institute for Applied Information Technology FIT where PM4Py was initially developed.
7+
8+
Further information on the license options for using PM4Py closed source (especially in industry contexts) can be found at https://processintelligence.solutions/.
9+
610

711
## Documentation / API
8-
The full documentation of pm4py can be found at https://processintelligence.solutions/
12+
The full documentation of PM4Py can be found at https://processintelligence.solutions/
913

1014
## First Example
11-
A very simple example, to whet your appetite:
15+
Here is a simple example to spark your interest:
1216

1317
```python
1418
import pm4py
@@ -20,30 +24,31 @@ if __name__ == "__main__":
2024
```
2125

2226
## Installation
23-
pm4py can be installed on Python 3.9.x / 3.10.x / 3.11.x / 3.12.x by invoking:
24-
*pip install -U pm4py*
27+
PM4Py can be installed on Python 3.9.x / 3.10.x / 3.11.x / 3.12.x by invoking:
2528

26-
pm4py is also running on older Python environments with different requirements sets, including:
27-
- Python 3.8 (3.8.10): third_party/old_python_deps/requirements_py38.txt
29+
`pip install -U pm4py`
30+
31+
PM4Py is also running on older Python environments with different requirements sets, including:
32+
- Python 3.8 (3.8.10): `third_party/old_python_deps/requirements_py38.txt`
2833

2934
## Requirements
30-
pm4py depends on some other Python packages, with different levels of importance:
35+
PM4Py depends on some other Python packages, with different levels of importance:
3136
* *Essential requirements*: numpy, pandas, deprecation, networkx
32-
* *Normal requirements* (installed by default with the pm4py package, important for mainstream usage): graphviz, intervaltree, lxml, matplotlib, pydotplus, pytz, scipy, tqdm
37+
* *Normal requirements* (installed by default with the PM4Py package, important for mainstream usage): graphviz, intervaltree, lxml, matplotlib, pydotplus, pytz, scipy, tqdm
3338
* *Optional requirements* (not installed by default): requests, pyvis, jsonschema, workalendar, pyarrow, scikit-learn, polars, openai, pyemd, pyaudio, pydub, pygame, pywin32, pygetwindow, pynput
3439

3540
## Release Notes
36-
To track the incremental updates, please refer to the *CHANGELOG* file.
41+
To track the incremental updates, please refer to the `CHANGELOG.md` file.
3742

3843
## Third Party Dependencies
3944
As scientific library in the Python ecosystem, we rely on external libraries to offer our features.
40-
In the */third_party* folder, we list all the licenses of our direct dependencies.
41-
Please check the */third_party/LICENSES_TRANSITIVE* file to get a full list of all transitive dependencies and the corresponding license.
45+
In the `/third_party` folder, we list all the licenses of our direct dependencies.
46+
Please check the `/third_party/LICENSES_TRANSITIVE` file to get a full list of all transitive dependencies and the corresponding license.
4247

43-
## Citing pm4py
44-
If you are using pm4py in your scientific work, please cite pm4py as follows:
48+
## Citing PM4Py
49+
If you are using PM4Py in your scientific work, please cite PM4Py as follows:
4550

46-
**Alessandro Berti, Sebastiaan van Zelst, Daniel Schuster**. (2023). *PM4Py: A process mining library for Python*. Software Impacts, 17, 100556. [DOI](https://doi.org/10.1016/j.simpa.2023.100556) | [Article Link](https://www.sciencedirect.com/science/article/pii/S2665963823000933)
51+
> **Alessandro Berti, Sebastiaan van Zelst, Daniel Schuster**. (2023). *PM4Py: A process mining library for Python*. Software Impacts, 17, 100556. [DOI](https://doi.org/10.1016/j.simpa.2023.100556) | [Article Link](https://www.sciencedirect.com/science/article/pii/S2665963823000933)
4752
4853
BiBTeX:
4954

@@ -61,3 +66,6 @@ author = {Alessandro Berti and Sebastiaan van Zelst and Daniel Schuster},
6166
}
6267
```
6368

69+
## Legal Notice
70+
71+
This repository is managed by Process Intelligence Solutions (PIS). Further information about PIS can be found online at www.processintelligence.solutions.

docs/LICENSE_HEADER_GITHUB.txt

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
'''
2-
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
2+
PM4Py – A Process Mining Library for Python
3+
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
34

4-
PM4Py is free software: you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation, either version 3 of the License, or
7-
(at your option) any later version.
5+
This program is free software: you can redistribute it and/or modify
6+
it under the terms of the GNU Affero General Public License as
7+
published by the Free Software Foundation, either version 3 of the
8+
License, or any later version.
89

9-
PM4Py is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU Affero General Public License for more details.
1314

14-
You should have received a copy of the GNU General Public License
15-
along with PM4Py. If not, see <https://www.gnu.org/licenses/>.
15+
You should have received a copy of the GNU Affero General Public License
16+
along with this program. If not, see this software project's root or
17+
visit <https://www.gnu.org/licenses/>.
18+
19+
Website: https://processintelligence.solutions
20+
1621
'''

docs/header_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
for filename in glob.iglob('../pm4py/' + '**/*.py', recursive=True):
88
with open(filename, 'r', encoding='utf-8') as original:
99
data = original.read()
10-
if (data.find(license) == -1):
10+
if "Copyright (C) 2024 Process Intelligence Solutions UG" not in data:
1111
with open(filename, 'w', encoding='utf-8') as modified:
1212
print('adding license to: ' + filename)
1313
modified.write(license + '\n' + data)

pm4py/__init__.py

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
'''
2-
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
2+
PM4Py – A Process Mining Library for Python
3+
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
34
4-
PM4Py is free software: you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation, either version 3 of the License, or
7-
(at your option) any later version.
5+
This program is free software: you can redistribute it and/or modify
6+
it under the terms of the GNU Affero General Public License as
7+
published by the Free Software Foundation, either version 3 of the
8+
License, or any later version.
89
9-
PM4Py is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU Affero General Public License for more details.
1314
14-
You should have received a copy of the GNU General Public License
15-
along with PM4Py. If not, see <https://www.gnu.org/licenses/>.
15+
You should have received a copy of the GNU Affero General Public License
16+
along with this program. If not, see this software project's root or
17+
visit <https://www.gnu.org/licenses/>.
18+
19+
Website: https://processintelligence.solutions
20+
1621
'''
1722
import time
1823

pm4py/algo/__init__.py

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
'''
2-
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
2+
PM4Py – A Process Mining Library for Python
3+
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
34
4-
PM4Py is free software: you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation, either version 3 of the License, or
7-
(at your option) any later version.
5+
This program is free software: you can redistribute it and/or modify
6+
it under the terms of the GNU Affero General Public License as
7+
published by the Free Software Foundation, either version 3 of the
8+
License, or any later version.
89
9-
PM4Py is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU Affero General Public License for more details.
1314
14-
You should have received a copy of the GNU General Public License
15-
along with PM4Py. If not, see <https://www.gnu.org/licenses/>.
15+
You should have received a copy of the GNU Affero General Public License
16+
along with this program. If not, see this software project's root or
17+
visit <https://www.gnu.org/licenses/>.
18+
19+
Website: https://processintelligence.solutions
20+
1621
'''
1722
from pm4py.algo import discovery, conformance, analysis, evaluation, simulation, organizational_mining, transformation

pm4py/algo/analysis/__init__.py

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
'''
2-
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
2+
PM4Py – A Process Mining Library for Python
3+
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
34
4-
PM4Py is free software: you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation, either version 3 of the License, or
7-
(at your option) any later version.
5+
This program is free software: you can redistribute it and/or modify
6+
it under the terms of the GNU Affero General Public License as
7+
published by the Free Software Foundation, either version 3 of the
8+
License, or any later version.
89
9-
PM4Py is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU Affero General Public License for more details.
1314
14-
You should have received a copy of the GNU General Public License
15-
along with PM4Py. If not, see <https://www.gnu.org/licenses/>.
15+
You should have received a copy of the GNU Affero General Public License
16+
along with this program. If not, see this software project's root or
17+
visit <https://www.gnu.org/licenses/>.
18+
19+
Website: https://processintelligence.solutions
20+
1621
'''
1722
from pm4py.algo.analysis import extended_marking_equation, marking_equation, workflow_net, woflan
Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
'''
2-
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
2+
PM4Py – A Process Mining Library for Python
3+
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
34
4-
PM4Py is free software: you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation, either version 3 of the License, or
7-
(at your option) any later version.
5+
This program is free software: you can redistribute it and/or modify
6+
it under the terms of the GNU Affero General Public License as
7+
published by the Free Software Foundation, either version 3 of the
8+
License, or any later version.
89
9-
PM4Py is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU Affero General Public License for more details.
1314
14-
You should have received a copy of the GNU General Public License
15-
along with PM4Py. If not, see <https://www.gnu.org/licenses/>.
15+
You should have received a copy of the GNU Affero General Public License
16+
along with this program. If not, see this software project's root or
17+
visit <https://www.gnu.org/licenses/>.
18+
19+
Website: https://processintelligence.solutions
20+
1621
'''
1722
from pm4py.algo.analysis.extended_marking_equation import variants

pm4py/algo/analysis/extended_marking_equation/algorithm.py

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
'''
2-
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
2+
PM4Py – A Process Mining Library for Python
3+
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
34
4-
PM4Py is free software: you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation, either version 3 of the License, or
7-
(at your option) any later version.
5+
This program is free software: you can redistribute it and/or modify
6+
it under the terms of the GNU Affero General Public License as
7+
published by the Free Software Foundation, either version 3 of the
8+
License, or any later version.
89
9-
PM4Py is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU Affero General Public License for more details.
1314
14-
You should have received a copy of the GNU General Public License
15-
along with PM4Py. If not, see <https://www.gnu.org/licenses/>.
15+
You should have received a copy of the GNU Affero General Public License
16+
along with this program. If not, see this software project's root or
17+
visit <https://www.gnu.org/licenses/>.
18+
19+
Website: https://processintelligence.solutions
20+
1621
'''
1722
from enum import Enum
1823
from typing import Optional, Dict, Any

0 commit comments

Comments
 (0)