{"library":"gym","type":"library","category":null,"description":"Gym (formerly OpenAI Gym) is a Python library that provided a universal API for developing and comparing reinforcement learning (RL) algorithms across a diverse collection of environments. While it was historically the standard for RL environments, the `gym` library is no longer actively maintained. All future development and support have transitioned to its successor, `gymnasium`, a drop-in replacement. The last major release of `gym` was version 0.26.2, released in October 2022, which introduced significant breaking API changes.","language":"python","status":"deprecated","version":"0.26.2","tags":["reinforcement-learning","rl","environments","ai","deprecated"],"last_verified":"Sat May 23","install":[{"cmd":"pip install gym","imports":["import gym","env = gym.make('CartPole-v1')"]},{"cmd":"pip install 'gym[atari]' # Example for Atari environments","imports":[]},{"cmd":"pip install 'gym[all]' # Install all supported environments","imports":[]}],"homepage":"https://www.gymlibrary.dev/","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/gym/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":43,"avg_install_s":5.8,"avg_import_s":0.45,"wheel_type":"sdist"},"url":"https://checklist.day/v1/registry/gym/compatibility"}}