Skip to main content

VisionRL

A Python package for visual Reinforcement Learning environments and tools.

VisionRL

A Python package for visual Reinforcement Learning environments and tools.

Design Philosophy

This library is designed as a Gymnasium-compatible extension, focused on computer vision, visualization, UI, and explainability for reinforcement learning. The design follows a layered and modular approach where each concern is clearly separated:

  • Gymnasium handles agent contracts.
  • VisionRL handles human understanding.
  • Core logic is minimal and stable.
  • Features are added via wrappers, not rewrites.
  • UI, CV, and explainability are optional layers.

Project Structure

🔹 vision_rl/ (Root Package)

The main Python package. Everything inside is part of the public or internal API.

🔹 vision_rl/core/ – Core Abstractions

Defines the foundational building blocks.

  • Extends Gymnasium’s Env.
  • Adds support for visual observations, UI hooks, and debug callbacks.
  • Key Files: visual_env.py (Base class), mixins.py (Reusable components).

🔹 vision_rl/wrappers/ – Environment Enhancements

The core extension mechanism. Most new features live here.

  • Modifies Gym environments without changing their code.
  • Handles frame stacking, visual conversions, heatmaps, and logging.

🔹 vision_rl/envs/ – Ready-to-Use Environments

Prebuilt environments for demonstration and best practices.

  • Examples: VisualFrozenLake, VisualCartPole.

🔹 vision_rl/ui/ – Human-Facing Interfaces

Tools for visualization and interaction. Optional for training, critical for demos.

  • Renders steps, plots metrics, and handles dashboards.

🔹 vision_rl/monitors/ – Training Analysis Tools

Tools to analyze agent behavior over time.

  • Track rewards, action distributions, and learning progress.

🔹 vision_rl/utils/ – Shared Utilities

Helper functions for CV, rendering, and image processing. No environment logic lives here.

🔹 vision_rl/register.py – Gym Integration

Connects environments to Gymnasium’s registry (e.g., gym.make("VisualFrozenLake-v0")).

Metadata

Release files for vision-rl 0.0.5

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

Source distribution (sdist)

Source distribution for vision-rl 0.0.5
File Size Uploaded Provenance
vision_rl-0.0.5.tar.gz 14.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for vision-rl 0.0.5
File Interpreter ABI Platform
vision_rl-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 30.1 kB

Release files / vision_rl-0.0.5.tar.gz

Download URL vision_rl-0.0.5.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d9310e5e6a425cba2ffc7e8c71ae18463a5c77e6e88e5a5fd2e2c81e8d4a97da
BLAKE2b-256 checksum
How to use checksums
563353f43383072aa7f996c47cf1055ebd9e7fcce6e71b9b83a90cf1c3fb3e9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / vision_rl-0.0.5-py3-none-any.whl

Download URL vision_rl-0.0.5-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce576c7cc5bce1c916eac485e68fef205b3ebb33203bfad3a87517a3b792f749
BLAKE2b-256 checksum
How to use checksums
14e121473d22718d54d5611307c17b6a847414b99007a2c06fa8d45bc3ae66de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for vision-rl 0.0.5

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