Skip to main content

Data preparation for object-centric process mining.

Project description

PyStack't (pystackt)

PyStack't (pystackt) is a Python package based on Stack't.

While Stack't is a proof-of-concept on how to embed the data transformations needed for object-centric process mining into an (existing) data stack, it's not very user-friendly for ad-hoc use. PyStack't aims to fill that gap by exposing some functionality in a Python package.

  • In this first release, only the Github log extractor is included. The log will be written to a database (DuckDB) using the Stack't relational schema.
  • In next releases, data exporters to OCED formats (f.e. OCEL 2.0) will be added.

Extracting object-centric event log from Github

📝 Example

from pystackt import *

get_github_log(
    GITHUB_ACCESS_TOKEN="insert_your_github_access_token_here",
    repo_owner="LienBosmans",
    repo_name="stack-t",
    max_issues=None,
    quack_db="./stack-t.duckdb"
)

🔑 Generating a GitHub Access Token

To generate a GitHub access token, go to GitHub Developer Settings, click "Generate new token (classic)", and proceed without selecting any scopes (leave all checkboxes unchecked). Copy the token and store it securely, as it won’t be shown again.

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

pystackt-0.0.1.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

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

pystackt-0.0.1-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file pystackt-0.0.1.tar.gz.

File metadata

  • Download URL: pystackt-0.0.1.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for pystackt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 65d7110421daad49364d23ffbf2a0c7409f08545966a439ed7097251b1278813
MD5 edc1c013ed4ec11e3f3d6063b33f6d22
BLAKE2b-256 f3d797fa95a0f6189c9d8eae49d568abccfcf18b3c9f15af919d4d33160bca63

See more details on using hashes here.

File details

Details for the file pystackt-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pystackt-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for pystackt-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 38dee0c0368477143082c64a61ebcec0a6cd27a7f0d91a432b7e986c0cc4c8d9
MD5 f0ff4d09be0421759a45014af6ba65df
BLAKE2b-256 d90e28bc4d63ad494739d1ffcb373a5edd4a1977f149a1d671d6d8363bce87c5

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