https://github.com/rlbot/python-interface
A high performance Python interface for communicating with RLBot v5.
https://github.com/rlbot/python-interface
python rlbot
Last synced: 9 months ago
JSON representation
A high performance Python interface for communicating with RLBot v5.
- Host: GitHub
- URL: https://github.com/rlbot/python-interface
- Owner: RLBot
- License: mit
- Created: 2024-01-29T04:48:38.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-08T20:17:19.000Z (9 months ago)
- Last Synced: 2025-04-08T21:23:28.272Z (9 months ago)
- Topics: python, rlbot
- Language: Python
- Homepage: https://rlbot.org/v5
- Size: 3.51 MB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
Also see the [main RLBot wiki](https://wiki.rlbot.org/) (make sure to avoid info on v4) and also see [this project's wiki](https://github.com/RLBot/python-interface/wiki)
## Dev setup
The following is how to setup a development environment for this project, NOT how to create a bot using this interface!
- Ensure Python 3.11+ is installed
- Create a virtual Python environment
- `python3 -m venv venv`
- Activate the virtual environment
- Windows: `venv\Scripts\activate.bat`
- Linux: `source venv/bin/activate`
- Install the package
- `pip install --editable .`
- This will install the package in editable mode,
meaning you can make changes to the code, and they
will be reflected in the installed package without
having to run the command again
- If you are making changes involving the flatbuffer schema and
[flatbuffers_python](https://github.com/RLBot/flatbuffers-python),
also install your local copy of that package in editable mode:
- `pip uninstall rlbot_flatbuffers`
- `pip install --editable `
This project is formatted using [Black](https://github.com/psf/black).
- Install: `pip install black`.
- Use: `black .`
## Testing
- You can test launching a match with `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