{"id":31021349,"url":"https://github.com/sisl/pyrorl","last_synced_at":"2025-09-13T11:20:40.840Z","repository":{"id":181751180,"uuid":"665793681","full_name":"sisl/PyroRL","owner":"sisl","description":"An RL environment made for wildfire evacuation.","archived":false,"fork":false,"pushed_at":"2025-04-02T05:38:01.000Z","size":4823,"stargazers_count":18,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-05T22:46:02.752Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sisl.github.io/PyroRL/","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/sisl.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-07-13T02:50:32.000Z","updated_at":"2025-06-20T10:58:41.000Z","dependencies_parsed_at":"2024-04-03T23:32:17.694Z","dependency_job_id":"af6e125b-52c5-4f58-8d89-6586821a7be2","html_url":"https://github.com/sisl/PyroRL","commit_stats":{"total_commits":190,"total_committers":3,"mean_commits":"63.333333333333336","dds":"0.28421052631578947","last_synced_commit":"fb9ad1a33e0c898072107479cd55c5714dba0c40"},"previous_names":["cpondoc/wildfire","sisl/wildfire","sisl/pyrorl"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sisl/PyroRL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sisl%2FPyroRL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sisl%2FPyroRL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sisl%2FPyroRL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sisl%2FPyroRL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sisl","download_url":"https://codeload.github.com/sisl/PyroRL/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sisl%2FPyroRL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274390689,"owners_count":25276406,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-09-13T11:20:39.804Z","updated_at":"2025-09-13T11:20:40.821Z","avatar_url":"https://github.com/sisl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cpre\u003e\n██████╗ ██╗   ██╗██████╗  ██████╗ ██████╗ ██╗     \n██╔══██╗╚██╗ ██╔╝██╔══██╗██╔═══██╗██╔══██╗██║     \n██████╔╝ ╚████╔╝ ██████╔╝██║   ██║██████╔╝██║     \n██╔═══╝   ╚██╔╝  ██╔══██╗██║   ██║██╔══██╗██║     \n██║        ██║   ██║  ██║╚██████╔╝██║  ██║███████╗\n╚═╝        ╚═╝   ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝\n\u003c/pre\u003e\n\n![example workflow](https://github.com/sisl/PyroRL/actions/workflows/testing.yml/badge.svg) [![codecov](https://codecov.io/github/sisl/PyroRL/graph/badge.svg?token=wBlFGsd5sS)](https://codecov.io/github/sisl/PyroRL) [![](https://img.shields.io/badge/docs-latest-blue.svg)](https://sisl.github.io/PyroRL/)  [![DOI](https://joss.theoj.org/papers/10.21105/joss.06739/status.svg)](https://joss.theoj.org/papers/10.21105/joss.06739)\n\nPyroRL is a new reinforcement learning environment built for the simulation of wildfire evacuation. Check out the [docs](https://sisl.github.io/PyroRL/) and the [demo](https://www.youtube.com/embed/Pt4cI5jBbKo).\n\n## How to Use\n\nFirst, install our package. Note that PyroRL requires Python version 3.8:\n\n```bash\npip install pyrorl\n```\n\nTo use our wildfire evacuation environment, define the dimensions of your grid, where the populated areas are, the paths, and which populated areas can use which path. See an example below.\n\n```python\n# Create environment\nkwargs = {\n    'num_rows': num_rows,\n    'num_cols': num_cols,\n    'populated_areas': populated_areas,\n    'paths': paths,\n    'paths_to_pops': paths_to_pops\n}\nenv = gymnasium.make('pyrorl/PyroRL-v0', **kwargs)\n\n# Run a simple loop of the environment\nenv.reset()\nfor _ in range(10):\n\n    # Take action and observation\n    action = env.action_space.sample()\n    observation, reward, terminated, truncated, info = env.step(action)\n\n    # Render environment and print reward\n    env.render()\n    print(\"Reward: \" + str(reward))\n```\n\nA compiled visualization of numerous iterations is seen below. For more examples, check out the `examples/` folder.\n\n![Example Visualization of PyroRL](imgs/example_visualization.gif)\n\nFor a more comprehensive tutorial, check out the [quickstart](https://sisl.github.io/PyroRL/quickstart/) page on our docs website.\n\n## How to Contribute\n\nFor information on how to contribute, check out our [contribution guide](https://sisl.github.io/PyroRL/contribution-guide/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsisl%2Fpyrorl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsisl%2Fpyrorl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsisl%2Fpyrorl/lists"}