Skip to content

About

A high performance Python interface for communicating with RLBot v5.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Latest commit

 

History

288 Commits

Folders and files

Repository files navigation

RLBot Python Interface

A high performance Python interface for communicating with RLBot v5.

Making a bot with this interface

See this video tutorial on YouTube for a quick start guide: https://www.youtube.com/watch?v=GLqvodQ942A

Also see the main RLBot wiki (make sure to avoid info on v4) and also see this project's wiki

Dev setup

The following is how to set up a development environment for this project, not how to create a bot using this interface.

  • Ensure Python 3.11+ is installed.

  • Install uv.

  • Create the environment and install the package with development dependencies:

    • uv sync --dev
  • If you are making changes involving the FlatBuffer schema and flatbuffers_python, also install your local copy of that package in editable mode:

    • uv pip uninstall rlbot_flatbuffers
    • uv pip install --editable <path/to/rlbot_flatbuffers>

This project is formatted using Ruff.

  • Check code: uv run ruff check .
  • Sort imports: uv run ruff check --select I --fix
  • Format code: uv run ruff format

See the uv project guide for dependency management.

Testing

  • Run all pytest tests with uv run pytest.
  • Test launching a match with uv run python tests/runner.py.

Building

  • You can build the package with python -m build
    • Note: You might have to pip install -U build first
    • rlbot-5.0.0-py3-none-any.whl and rlbot-5.0.0.tar.gz will be created in the dist folder

About

A high performance Python interface for communicating with RLBot v5.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages