livesplit-parser


Namelivesplit-parser JSON
Version 0.3 PyPI version JSON
download
home_pageNone
SummaryParse LiveSplit data
upload_time2024-11-02 23:51:51
maintainerNone
docs_urlNone
authorTrevor Bushnell
requires_pythonNone
licenseNone
keywords python speedrunning livesplit
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# 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](https://trevorbushnell.github.io/livesplit_parser/).


## Example Usage

```python
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

- [x] Include a `StandDev` column in the `split_info_df` that includes the standard deviation of all your attempts for that split
- [x] Plot split time distributions using *violinplots*
- [x] Plot runtime distributions with the splits on the x-axis and standard deviation on the y-axis
- [x] Plot number of runs that reset between completed runs
- [x] Plot completed runs over time (run ID on x-axis, final time on y-axis)
- [x] 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](https://github.com/TrevorBushnell/livesplit_parser/issues) on my GitHub repo :)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "livesplit-parser",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, speedrunning, livesplit",
    "author": "Trevor Bushnell",
    "author_email": "<tbushnell11@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/bd/19/2e4b53e71067c84bb940b6a0c76ac79980e9a0c0dd08da90e4fee85a6c61/livesplit_parser-0.3.tar.gz",
    "platform": null,
    "description": "\n# Livesplit-Parser\n\n#### A Python Package to Parse Your Data Regarding Your Speedruns\n\nThis Pyton package parses LiveSplit files and parses data within LiveSplit files.\n\nInstall this package with `pip install livesplit_parser`\n\nCheck out the documentation for this package [here](https://trevorbushnell.github.io/livesplit_parser/).\n\n\n## Example Usage\n\n```python\nfrom livesplit_parser import LivesplitData\n\nlss_path = '' # put the path to your .lss file here\nmy_run = LivesplitData(lss_path)\n\nprint('NUMBER OF ATTEMPTS:', my_run.num_attempts)\nprint('NUMBER OF COMPLETED ATTEMPTS:', my_run.num_completed_attempts)\nprint('PERCENTAGE OF RUNS COMPLETED:', my_run.percent_runs_completed)\nprint('YOUR ATTEMPT DATA\\n:', my_run.attempt_info_df)\nprint('YOUR SPLIT DATA:\\n', my_run.split_info_df)\n```\n\n## TODO Features to Include\n\n- [x] Include a `StandDev` column in the `split_info_df` that includes the standard deviation of all your attempts for that split\n- [x] Plot split time distributions using *violinplots*\n- [x] Plot runtime distributions with the splits on the x-axis and standard deviation on the y-axis\n- [x] Plot number of runs that reset between completed runs\n- [x] Plot completed runs over time (run ID on x-axis, final time on y-axis)\n- [x] Plot completed runs with a heatmap showing how good that segment was for that run\n- [ ] Create a Runner class that contains a list of Runners with their data and methods that plot runs against each other\n\t* example: plot each runner's PB over time (runners can compare themselves against each other)\n\t* 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\n\nOther ideas for plots and features can be submitted to the [Issues board](https://github.com/TrevorBushnell/livesplit_parser/issues) on my GitHub repo :)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Parse LiveSplit data",
    "version": "0.3",
    "project_urls": null,
    "split_keywords": [
        "python",
        " speedrunning",
        " livesplit"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7908767ce1e3d0a4c7315b7bcad45c6d4d2245b60b49c11e4de23b7c2ac1a48a",
                "md5": "e36c5cf6eb0e9e5adf6a7c1c0b1f76c6",
                "sha256": "42d571973435d2696305f049c850afe162cb9cd3bfbc81535961617bdd51b7fd"
            },
            "downloads": -1,
            "filename": "livesplit_parser-0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e36c5cf6eb0e9e5adf6a7c1c0b1f76c6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8968,
            "upload_time": "2024-11-02T23:51:49",
            "upload_time_iso_8601": "2024-11-02T23:51:49.145625Z",
            "url": "https://files.pythonhosted.org/packages/79/08/767ce1e3d0a4c7315b7bcad45c6d4d2245b60b49c11e4de23b7c2ac1a48a/livesplit_parser-0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bd192e4b53e71067c84bb940b6a0c76ac79980e9a0c0dd08da90e4fee85a6c61",
                "md5": "1f149ac30d1925b74f7a7c8f8601b062",
                "sha256": "433e3dec8b3ddeac39f79ea772b1bf266f06d98bef660c79f589fe9289360883"
            },
            "downloads": -1,
            "filename": "livesplit_parser-0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "1f149ac30d1925b74f7a7c8f8601b062",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 9465,
            "upload_time": "2024-11-02T23:51:51",
            "upload_time_iso_8601": "2024-11-02T23:51:51.110753Z",
            "url": "https://files.pythonhosted.org/packages/bd/19/2e4b53e71067c84bb940b6a0c76ac79980e9a0c0dd08da90e4fee85a6c61/livesplit_parser-0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-02 23:51:51",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "livesplit-parser"
}
        
Elapsed time: 0.53498s