{"id":19664847,"url":"https://github.com/fluxml/gym.jl","last_synced_at":"2025-11-21T22:02:33.886Z","repository":{"id":85754129,"uuid":"168386410","full_name":"FluxML/Gym.jl","owner":"FluxML","description":"Gym environments in Julia","archived":false,"fork":false,"pushed_at":"2020-04-30T12:43:20.000Z","size":144,"stargazers_count":54,"open_issues_count":19,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-11-21T22:02:13.894Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Julia","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/FluxML.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":"2019-01-30T17:39:57.000Z","updated_at":"2024-03-10T03:54:08.000Z","dependencies_parsed_at":"2023-03-13T06:34:17.601Z","dependency_job_id":null,"html_url":"https://github.com/FluxML/Gym.jl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FluxML/Gym.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FluxML%2FGym.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FluxML%2FGym.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FluxML%2FGym.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FluxML%2FGym.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FluxML","download_url":"https://codeload.github.com/FluxML/Gym.jl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FluxML%2FGym.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285697825,"owners_count":27216628,"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-11-21T02:00:06.175Z","response_time":61,"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":"2024-11-11T16:19:16.480Z","updated_at":"2025-11-21T22:02:33.870Z","avatar_url":"https://github.com/FluxML.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gym.jl\nGym environments in Julia\n\n**`Gym.jl` is a work in progress and in active development. Expect breaking changes for some time.**\n\n**`Gym.jl` requires Julia v1.1**\n\n# Installation\n```julia\njulia\u003e ] add https://github.com/FluxML/Gym.jl\n```\n\n## Usage\n\n```julia\nenv = make(\"CartPole-v0\", :human_pane)\n\nactions = [sample(env._env.action_space) for i=1:1000]\ni = 1\ndone = false\nreset!(env)\nwhile i \u003c= length(actions) \u0026\u0026 !done\n    global i, done\n    a, b, done, d = step!(env, actions[i])\n    render!(env)\n    i += 1\nend\n```\n## Currently available environments\n* CartPole\n* Pendulum\n* Continuous_MountainCar\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluxml%2Fgym.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluxml%2Fgym.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluxml%2Fgym.jl/lists"}