Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
\n# Gymnasium Rendering for Colaboratory
For the archived repository for use alongside OpenAI Gym, see colabgymrender
Installation
pip install renderlab
Example
import gymnasium as gym
import renderlab as rl
env = gym.make("CartPole-v1", render_mode = "rgb_array")
env = rl.RenderFrame(env, "./output")
observation, info = env.reset()
while True:
action = env.action_space.sample()
observation, reward, terminated, truncated, info = env.step(action)
if terminated or truncated:
break
env.play()
Metadata
Release files for renderlab 0.1.20230421184216
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| renderlab-0.1.20230421184216-py3-none-any.whl | Python 3 | none | any | Details |
Release files / renderlab-0.1.20230421184216-py3-none-any.whl
| Download URL | renderlab-0.1.20230421184216-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a5880b75dd026a534eee47c17b18cd82f0cab6c04355f705f93f7e124bd2028
|
|
BLAKE2b-256 checksum How to use checksums |
7643c4f00b499d795417a26171629dabf995bfec61364a1080963678ac1a891c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|