pm4py.connectors.extract_ocel_github#

pm4py.connectors.extract_ocel_github(owner: str = 'pm4py', repo: str = 'pm4py-core', auth_token: str | None = None) OCEL[source]#

Extracts an object-centric event log containing the history of issues from a GitHub repository. Due to API rate limits for public and registered users, only a subset of events may be returned.

Columns: - ACTIVITY (ocel:activity): The event type (e.g., created, commented, closed, subscribed). - TIMESTAMP (ocel:timestamp): Timestamp of the event execution.

Object Types: - case:concept:name: URL of the events related to the issue. - org:resource: Involved resource. - case:repo: Repository in which the issue was created.

Parameters:
  • owner (str) – Owner of the repository (e.g., pm4py).

  • repo (str) – Name of the repository (e.g., pm4py-core).

  • auth_token – Authorization token.

Return type:

OCEL