Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

\n# Gymnasium Rendering for Colaboratory

PyPI download month PyPI - Status PyPI GitHub Open In Colab

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.post1

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

Built distribution (wheel)

Table of built distributions (wheels) for renderlab 0.1.20230421184216.post1
File Interpreter ABI Platform
renderlab-0.1.20230421184216.post1-py3-none-any.whl Python 3 none any Details

Release files / renderlab-0.1.20230421184216.post1-py3-none-any.whl

Download URL renderlab-0.1.20230421184216.post1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f3b2289ef1df79ffebb9e2c15e5849a04de4747664b1c828289e11d4fa1492f
BLAKE2b-256 checksum
How to use checksums
9939e77dca4d1b2c662f4b555b1592f6c3c8c549eedae053a43c886659f9c1e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3
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