{"id":13794551,"url":"https://github.com/zhoudaxia233/pyalpha","last_synced_at":"2025-10-06T22:09:00.669Z","repository":{"id":62578621,"uuid":"135036883","full_name":"zhoudaxia233/pyalpha","owner":"zhoudaxia233","description":"A process mining tool written in Python3","archived":false,"fork":false,"pushed_at":"2018-10-13T00:21:25.000Z","size":18,"stargazers_count":21,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-30T22:38:38.270Z","etag":null,"topics":["alpha-miner","data-science","petri-net","process-mining"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhoudaxia233.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-27T10:36:30.000Z","updated_at":"2025-02-08T14:39:23.000Z","dependencies_parsed_at":"2022-11-03T21:00:31.713Z","dependency_job_id":null,"html_url":"https://github.com/zhoudaxia233/pyalpha","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zhoudaxia233/pyalpha","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhoudaxia233%2Fpyalpha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhoudaxia233%2Fpyalpha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhoudaxia233%2Fpyalpha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhoudaxia233%2Fpyalpha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhoudaxia233","download_url":"https://codeload.github.com/zhoudaxia233/pyalpha/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhoudaxia233%2Fpyalpha/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278686840,"owners_count":26028370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpha-miner","data-science","petri-net","process-mining"],"created_at":"2024-08-03T23:00:43.191Z","updated_at":"2025-10-06T22:09:00.649Z","avatar_url":"https://github.com/zhoudaxia233.png","language":"Python","readme":"# pyalpha\nA process mining tool written in Python3.  \n\nIt generates a Petri net using the [Alpha Algorithm](https://en.wikipedia.org/wiki/Alpha_algorithm) from event logs.\n\n---\n## Requirements\n1. `Python3`\n2. `pip`\n3. `graphviz-2.38` (Only this version has been tested, other versions may also work).\n\nOn Ubuntu, simply type `sudo apt install graphviz`, and it will work!\n\nOn Windows, you may need this link [Graphviz 2.38 Stable Release](https://graphviz.gitlab.io/_pages/Download/windows/graphviz-2.38.msi). Also, you need to add **graphviz** to your SYSTEM PATH. Just add the **/bin/** folder is enough.\n\n---\n\n## Installation\n\nInstall `pyalpha`:\n\n```bash\nsudo pip3 install pyalpha\n```\n\n---\n\n## Developing\n\nInstall `pyalpha` for development:\n\n```bash\npython3 setup.py develop\n```\n\n---\n\n## Usage\n### How to use pyalpha?\n```bash\npyalpha name-of-your-file-which-contains-event-logs.txt  # e.g. tests/test0.txt\n```\nBy default, it generates a dot file, a png file shows the Petri Net and a txt file describing the footprint.\n\n### How to run unit tests?\ne.g. If you want to run unit tests of `alpha_test.py`, just type the command below:  \n```bash\npython3 -m unittest tests.alpha_test\n```\n\n### How can I use my custom event logs?  \nPlease take a look at `.txt` files in folder `tests/`. Just follow the same style.\n","funding_links":[],"categories":["Tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhoudaxia233%2Fpyalpha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhoudaxia233%2Fpyalpha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhoudaxia233%2Fpyalpha/lists"}