A high performance Python interface for communicating with RLBot v5.
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
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_flatbuffersuv 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.
- Run all pytest tests with
uv run pytest. - Test launching a match with
uv run python tests/runner.py.
- You can build the package with
python -m build- Note: You might have to
pip install -U buildfirst rlbot-5.0.0-py3-none-any.whlandrlbot-5.0.0.tar.gzwill be created in thedistfolder
- Note: You might have to