{"id":21135508,"url":"https://github.com/mrrobb/gym-rs","last_synced_at":"2025-07-09T03:33:10.653Z","repository":{"id":35072965,"uuid":"203469392","full_name":"MrRobb/gym-rs","owner":"MrRobb","description":"OpenAI Gym bindings for Rust","archived":false,"fork":false,"pushed_at":"2022-11-16T19:03:18.000Z","size":137,"stargazers_count":61,"open_issues_count":13,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-09T08:07:44.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/MrRobb.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}},"created_at":"2019-08-20T23:26:06.000Z","updated_at":"2024-06-07T16:28:38.000Z","dependencies_parsed_at":"2023-01-15T13:15:09.174Z","dependency_job_id":null,"html_url":"https://github.com/MrRobb/gym-rs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2Fgym-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2Fgym-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2Fgym-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2Fgym-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrRobb","download_url":"https://codeload.github.com/MrRobb/gym-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225482445,"owners_count":17481208,"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":[],"created_at":"2024-11-20T06:56:12.751Z","updated_at":"2024-11-20T06:56:13.240Z","avatar_url":"https://github.com/MrRobb.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gym-rs\n\n\n[![Crates.io](https://img.shields.io/crates/v/gym)](https://crates.io/crates/gym)\n[![Docs.rs](https://docs.rs/gym/badge.svg)](https://docs.rs/gym/latest/gym)\n[![codecov](https://codecov.io/gh/MrRobb/gym-rs/branch/master/graph/badge.svg)](https://codecov.io/gh/MrRobb/gym-rs)\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/MrRobb/gym-rs/blob/master/LICENSE)\n\nOpenAI gym binding for Rust.\n\n\u003e Actively maintained! If you have any problem just [create an issue](https://github.com/MrRobb/gym-rs/issues/new).\n\n### Install\n\nJust install the requierements layed out in the [requirements.txt](https://github.com/MrRobb/gym-rs/blob/master/requirements.txt). \n\n\u003e If you don't have python installed, go [here](https://realpython.com/installing-python/)\n\n```sh\ncurl \"https://raw.githubusercontent.com/MrRobb/gym-rs/master/requirements.txt\" \u003e requirements.txt\npip3 install -r requirements.txt\n```\n\n### Usage\n\nOnce everything is installed, just add this crate to your your Rust project.\n\n```toml\n# Cargo.toml\n\n[dependencies]\ngym = \"*\" # Update * with the latest version\n```\n\n### Example\n\nOnce you have installed correctly the library, the only thing left is to test if its working ok. To do so, you just have to execute the following commands:\n\n\u003e If you don't have Rust installed go [here](https://www.rust-lang.org/tools/install)\n\n```sh script\ngit clone https://github.com/MrRobb/gym-rs.git\ncd gym-rs\npip3 install -r requirements.txt\ncargo run --example basic\n```\n\n### Troubleshooting\n\nIn Ubuntu 20.04, it is possible that you need to install `swig`. To do that, execute:\n\n```sh\nsudo apt-get install swig\n```\n\nThe example can fail with virtualenv. It's more of a general problem of the cpython crate rather than this one, you can resolve it by setting the PYTHONHOME env var to the module path of the venv, e.g.:\n\n```sh\nPYTHONPATH=~/venv-py37/lib/python3.7/site-packages cargo run --example basic\n```\n\n## Donation (BTC)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://i.imgur.com/61OZ7lE.jpg\"\u003e\n    \u003cimg src=\"https://i.imgur.com/61OZ7lE.jpg\" width=35%\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003eBTC address: 3KRM66geiaXWzqs5hRb35dGiQEQAa6JTYU\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrrobb%2Fgym-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrrobb%2Fgym-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrrobb%2Fgym-rs/lists"}