Skip to main content

Gymgrid

The gridworld environment contains simple environments in RL book and compatible with OpenAI-gym.

Installation

pip install gymgird

Usage

import gym
import gymgrid
env = env = gym.make('cliff-v0')
for i_episode in range(20):
    observation = env.reset()
    for t in range(100):
        env.render()
        print(observation)
        action = env.action_space.sample()
        observation, reward, done, info = env.step(action)
        if done:
            print("Episode finished after {} timesteps".format(t+1))
            break
env.close()
print("env closed")

Environments

  • Sample1
  • Sample2
  • Cliff: Example 6.5: Cliff Walking
  • WindyGridWorld: Exercise 6.9 Windy Gridworld with King's Moves

Metadata

Release files for gymgrid 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gymgrid 1.1.0
File Size Uploaded Provenance Actions
gymgrid-1.1.0.tar.gz 4.0 kB Without provenance Details for gymgrid-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gymgrid 1.1.0
File Interpreter ABI Platform Actions
gymgrid-1.1.0-py3-none-any.whl Python 3 none any Details for gymgrid-1.1.0-py3-none-any.whl

Total release size: 10.9 kB

Release files / gymgrid-1.1.0.tar.gz

Download URL gymgrid-1.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c369f38f02a8f7e3777feaba68eafd5920583f503da9a113d318c2c23ee0ac4a
BLAKE2b-256 checksum
How to use checksums
19a64cfe6c88414440a866cec06bb20815751daa0304be4443e93d02ab1dbf1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

Release files / gymgrid-1.1.0-py3-none-any.whl

Download URL gymgrid-1.1.0-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6330098e7ac7160130d8e7b6e7d42eee0e3d08e5f7a5cf3c6ba6152800f932b3
BLAKE2b-256 checksum
How to use checksums
8cbef295e768e1a91a5cc45a913ddf532395aa45158aeec6f3ca7288b7c12075
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

Security for gymgrid 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page