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
StandDevcolumn in thesplit_info_dfthat 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file livesplit_parser-0.3.tar.gz.
File metadata
- Download URL: livesplit_parser-0.3.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
433e3dec8b3ddeac39f79ea772b1bf266f06d98bef660c79f589fe9289360883
|
|
| MD5 |
1f149ac30d1925b74f7a7c8f8601b062
|
|
| BLAKE2b-256 |
bd192e4b53e71067c84bb940b6a0c76ac79980e9a0c0dd08da90e4fee85a6c61
|
File details
Details for the file livesplit_parser-0.3-py3-none-any.whl.
File metadata
- Download URL: livesplit_parser-0.3-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42d571973435d2696305f049c850afe162cb9cd3bfbc81535961617bdd51b7fd
|
|
| MD5 |
e36c5cf6eb0e9e5adf6a7c1c0b1f76c6
|
|
| BLAKE2b-256 |
7908767ce1e3d0a4c7315b7bcad45c6d4d2245b60b49c11e4de23b7c2ac1a48a
|