Skip to main content

Python API for LANA Process Mining

Project description


Python 3.7 Pylana Maintenance

Python API for LANA Process Mining

This package provides a Python API for LANA Process Mining.
Attention: This package is still in alpha state. Functions and parameters may be renamed and changed at any time.


To install pylana, you need python version 3.6.0 or above. Pylana could be installed from pypi:

$ python3 -m pip install pylana

To establish a connection with the server, you could use either the access token or the API key.

import pylana
myLana = pylana.LanaAPI(url = "", apikey = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9")

Usage Example

Pylana provides a simple interface which supports:

  • Uploading / retrieving / sharing event logs
  • Uploading / connecting target models
  • Creating / connecting / sharing shiny dashboards

Upload an Event Log

# without case attribute
myLana.uploadEventLog(logFile, logSemantics)

# with case attributes
myLana.uploadEventLogWithCaseAttributes(logFile, logSemantics, 
    caseAttributeFile, caseAttributeSemantics)

Retrieve Event Logs

# get a list of event logs associated with the current user

# get the log id of a particular log

Create a Shiny Dashboard

# initate a new shiny dashboard id
id = mylana.createShinyDashboard(dashboardName)

# upload the dashboard file to server
mylana.uploadShinyDashboard(dashboardFile, id)

# connect the dashboard to an event log
mylana.connectDashboardToLog(id, logId)


Apache License 2.0

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pylana, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pylana-0.0.2-py3-none-any.whl (8.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pylana-0.0.2.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page