Skip to main content

Open source library for e-Book log analysis

Project description

OpenLA: open-source library for e-book log analysis

PyPI Latest Release Coverage Package Status License Downloads Documentation


OpenLA is an open-source library for e-book log analysis.

This Python library helps reduce redundant development when preprocessing e-book logs: calculating reading times for each learner, counting up operations, page-wise summary of student behavior, etc.

OpenLA concept

API concept

Four preprocessing processes are essential and common in e-book log analysis: getting course information, converting the log into a form suitable for analysis, extracting the required information, and visualizing the data.

In order to improve efficiency and reduce reiteration in these processes, OpenLA provides the corresponding four modules: Course Information, Data Conversion, Data Extraction, and Data Visualization.

Preprocessing flow


OpenLA is available on PyPi. You can install it with pip.

pip install OpenLA

OpenLA works on python 3.7, 3.8, 3.9 and 3.10.

Below are the versions of OpenLA's main dependencies we use for testing, but you probably do not need to worry about this.

  • python 3.7: matplotlib 3.5.2, numpy 1.21.6, pandas 1.3.5
  • python 3.8 or newer: matplotlib 3.5.2, numpy 1.22.3, pandas 1.4.2

Datasets for OpenLA

The dataset used in this library has the same structure as the open source ones used to conduct Data Challenge Workshops in LAK19 and LAK20.

We target BookRoll logs, but logs from other systems can be adapted.

The dataset may include up to four types of files.


  • Data of the logged activity data from learners' interactions with the BookRoll system
  • Columns: userid, contentsid, operationname, pageno, marker, memo_length, devicecode, and eventtime


  • Information about the length of the lecture materials used
  • Columns: lecture, contentsid, and pages


  • Information about the schedule of the lectures
  • Columns: lecture, starttime, and endtime


  • Data on the final score for each student
  • Columns: userid and score

Note: from version 0.2.1, OpenLA can treat grading data, which was not present in the LAK19 and LAK20 datasets.


  • Data on the final grade for each student
  • Columns: userid and grade

Where # is the course id. BookRoll is an e-book system to record learning activities.

If you need a sample dataset, please contact .


Read the docs for detailed information about all the modules, and for code examples.

For more information about BookRoll and the learning analytics platform on which the data was collected, please refer to the following:

  • Brendan Flanagan, Hiroaki Ogata, Integration of Learning Analytics Research and Production Systems While Protecting Privacy, Proceedings of the 25th International Conference on Computers in Education (ICCE2017), pp.333-338, 2017.
  • Hiroaki Ogata, Misato Oi, Kousuke Mohri, Fumiya Okubo, Atsushi Shimada, Masanori Yamada, Jingyun Wang, and Sachio Hirokawa, Learning Analytics for E-Book-Based Educational Big Data in Higher Education, In Smart Sensors at the IoT Frontier, pp.327-350, Springer, Cham, 2017.

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

openla-0.3.0.tar.gz (20.8 kB view hashes)

Uploaded Source

Built Distribution

openla-0.3.0-py3-none-any.whl (26.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page