Skip to main content

A standard API for reinforcement learning and a diverse set of reference environments (formerly Gym)

Project description

pre-commit Code style: black

Gymnasium is an open source Python library for developing and comparing reinforcement learning algorithms by providing a standard API to communicate between learning algorithms and environments, as well as a standard set of environments compliant with that API. This is a fork of OpenAI's Gym library by the maintainers (OpenAI handed over maintenance a few years ago to an outside team), and is where future maintenance will occur going forward

The documentation website is at gymnasium.farama.org, and we have a public discord server (which we also use to coordinate development work) that you can join here: https://discord.gg/bnJ6kubTg6

Environments

Gymnasium includes the following families of environments along with a wide variety of third-party environments

  • Classic Control - These are classic reinforcement learning based on real-world problems and physics.
  • Box2D - These environments all involve toy games based around physics control, using box2d based physics and PyGame-based rendering
  • Toy Text - These environments are designed to be extremely simple, with small discrete state and action spaces, and hence easy to learn. As a result, they are suitable for debugging implementations of reinforcement learning algorithms.
  • MuJoCo - A physics engine based environments with multi-joint control which are more complex than the Box2D environments.
  • Atari - A set of 57 Atari 2600 environments simulated through Stella and the Arcade Learning Environment that have a high range of complexity for agents to learn.
  • Third-party - A number of environments have been created that are compatible with the Gymnasium API. Be aware of the version that the software was created for and use the apply_env_compatibility in gymnasium.make if necessary.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Gymnasium-0.26.3.tar.gz (726.4 kB view details)

Uploaded Source

Built Distribution

Gymnasium-0.26.3-py3-none-any.whl (836.9 kB view details)

Uploaded Python 3

File details

Details for the file Gymnasium-0.26.3.tar.gz.

File metadata

  • Download URL: Gymnasium-0.26.3.tar.gz
  • Upload date:
  • Size: 726.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for Gymnasium-0.26.3.tar.gz
Algorithm Hash digest
SHA256 2a918e321fc0bb48f4ebf2936ccd8f20a049658f1509dea9c6e768b8030392ed
MD5 b8cf2153dbc452fe2cbc9864c35b39c8
BLAKE2b-256 d2987453b05467682cd6461636fad4b15aa3ef975e0762719268bb9ec74681da

See more details on using hashes here.

File details

Details for the file Gymnasium-0.26.3-py3-none-any.whl.

File metadata

  • Download URL: Gymnasium-0.26.3-py3-none-any.whl
  • Upload date:
  • Size: 836.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for Gymnasium-0.26.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4be0085252759c65b09c9fb83970ceedd02fab03b075024d8ba22eaa1a11eda1
MD5 5b594d43a963f7c06c0aad29d503a563
BLAKE2b-256 e7d895bc547d57d7661b00809b0714dff7690a79cfafdbc4812c93790fea5add

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page