SaltieRL / boxcars-py

Python wrapper for boxcars, a Rust Rocket League replay parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boxcars-py

Python bindings for the Boxcars Rocket League replay parser.

Installation

Only tested on linux. You have to compile it yourself if you are using Windows.

pip install boxcars-py

Usage

from boxcars_py import parse_replay

with open("your_replay.replay", "rb") as f:
  buf = f.read()
  f.close()

replay = parse_replay(buf)
# Use the parsed replay here

Building from source

Requirements

# Install dependencies
poetry install
# Build
make

About

Python wrapper for boxcars, a Rust Rocket League replay parser

License:MIT License


Languages

Language:Python 41.0%Language:Rust 40.1%Language:Makefile 18.9%