{"id":27423644,"url":"https://github.com/rlbot/python-example","last_synced_at":"2025-04-14T10:53:47.947Z","repository":{"id":249718573,"uuid":"832332557","full_name":"RLBot/python-example","owner":"RLBot","description":"Example of a Python bot using the RLBot v5 framework","archived":false,"fork":false,"pushed_at":"2025-04-08T17:18:58.000Z","size":69,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T18:28:58.135Z","etag":null,"topics":["python","rlbot"],"latest_commit_sha":null,"homepage":"https://rlbot.org/v5","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RLBot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-22T20:03:43.000Z","updated_at":"2025-04-08T17:19:01.000Z","dependencies_parsed_at":"2024-10-18T16:26:25.343Z","dependency_job_id":"47c99537-cc5b-43cf-a2af-f592ce170bc2","html_url":"https://github.com/RLBot/python-example","commit_stats":null,"previous_names":["virxec/rlbot-python-example","rlbot/python-example"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RLBot%2Fpython-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RLBot%2Fpython-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RLBot%2Fpython-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RLBot%2Fpython-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RLBot","download_url":"https://codeload.github.com/RLBot/python-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868773,"owners_count":21174757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","rlbot"],"created_at":"2025-04-14T10:53:47.324Z","updated_at":"2025-04-14T10:53:47.941Z","avatar_url":"https://github.com/RLBot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RLBotPythonExample\n\nExample of a Python bot using the RLBot framework\n\nWiki: [RLBot/python-interface/wiki](https://github.com/RLBot/python-interface/wiki)\n\n## Quick Start\n\n1. Install Python 3.11 or later\n1. Create a Python virtual environment\n   - `python3 -m venv venv`\n1. Activate the virtual environment\n   - Windows: `.\\venv\\Scripts\\activate`\n   - Linux: `source venv/bin/activate`\n1. Install the required packages\n   - `pip install -r requirements.txt`\n1. Download `RLBotServer.exe` and place it in the root directory\n   - \u003chttps://github.com/RLBot/core\u003e\n1. Modify `rlbot.toml` to your liking\n   - Note: `dev.toml` also exists with a few changed settings that might be useful for development\n1. Start a match with `python run.py`\n\n## Changing the bot\n\n- Bot behavior is controlled by `src/bot.py`\n- Bot appearance is controlled by `src/loadout.toml`\n\n## Configuring for the v5 botpack\n\n1. `pip install pyinstaller`\n1. `pyinstaller --onefile src/bot.py --paths src` -\n  This will create a file called `bot.spec`.\n1. Create `bob.toml` in the same directory as the spec file with the following content:\n   ```toml\n   [[config]]\n   project_name = \"PythonExample\"\n   bot_configs = [\"src/bot.toml\"]\n\n   [config.builder_config]\n   builder_type = \"pyinstaller\"\n   entry_file = \"bot.spec\"\n   ```\n\n   - `project_name` will be the name of your bot's folder in the botpack\n   - `bot_configs` is a list of bot configs that will be included in the botpack\n   - `builder_type` should always be `pyinstaller`\n   - `entry_file` is the name of the spec file\n\n1. Commit both `bot.spec` and `bob.toml` to your bot's repository.\n  Note that `bob.toml` CANNOT be renamed, but `bot.spec` can be anything as long as `entry_file` is also renamed to reflect the change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frlbot%2Fpython-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frlbot%2Fpython-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frlbot%2Fpython-example/lists"}