Skip to content

Python wrapper for boxcars, a Rust Rocket League replay parser

License

Notifications You must be signed in to change notification settings

SaltieRL/boxcars-py

Repository files navigation

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