Skip to main content

Parse LiveSplit data

Project description

Livesplit-Parser

A Python Package to Parse Your Data Regarding Your Speedruns

This Pyton package parses LiveSplit files and parses data within LiveSplit files.

Install this package with pip install livesplit_parser

Check out the documentation for this package here.

Example Usage

from livesplit_parser import LivesplitData

lss_path = '' # put the path to your .lss file here
my_run = LivesplitData(lss_path)

print('NUMBER OF ATTEMPTS:', my_run.num_attempts)
print('NUMBER OF COMPLETED ATTEMPTS:', my_run.num_completed_attempts)
print('PERCENTAGE OF RUNS COMPLETED:', my_run.percent_runs_completed)
print('YOUR ATTEMPT DATA\n:', my_run.attempt_info_df)
print('YOUR SPLIT DATA:\n', my_run.split_info_df)

TODO Features to Include

  • Include a StandDev column in the split_info_df that includes the standard deviation of all your attempts for that split
  • Plot split time distributions using violinplots
  • Plot runtime distributions with the splits on the x-axis and standard deviation on the y-axis
  • Plot number of runs that reset between completed runs
  • Plot completed runs over time (run ID on x-axis, final time on y-axis)
  • Plot completed runs with a heatmap showing how good that segment was for that run
  • Create a Runner class that contains a list of Runners with their data and methods that plot runs against each other
    • example: plot each runner's PB over time (runners can compare themselves against each other)
    • another example: heatmap from before with splits on the x-axis, runner on the y-axis, and heatmap comparing that segment with the means of the personal bests of every runner included

Other ideas for plots and features can be submitted to the Issues board on my GitHub repo :)

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

livesplit_parser-0.2.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

livesplit_parser-0.2.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file livesplit_parser-0.2.1.tar.gz.

File metadata

  • Download URL: livesplit_parser-0.2.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for livesplit_parser-0.2.1.tar.gz
Algorithm Hash digest
SHA256 319ded0caf769c1d7fa8feae508bc8c2eb3ba9c5216a6bede8c92a55faf16751
MD5 2ef0f5dea2ab83b6ed3db75bbd5b8798
BLAKE2b-256 331458c84707e819f63c47e34fcde7e39b362a6bb7d4fe0ac985aae52d9de008

See more details on using hashes here.

File details

Details for the file livesplit_parser-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for livesplit_parser-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82d6d30f34a9a202c156fa99cd7ae69cd2069284a2e01756a13bc494c5f0248e
MD5 180214321be1f9c5b9a50ac18028815e
BLAKE2b-256 626587a5b60dae3caf42228ae7940672c0146855d868e9a57d87b983b640095a

See more details on using hashes here.

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