Skip to main content

Atari Helpers

Lightweight utilities for Atari reinforcement learning: launch environments fast, capture episodic video if you want, and preprocess frames so they are ready for your agent. All signal, no cargo cult. 🎯

  • 🎮 make_environment: spin up Gymnasium Atari envs with optional video recording
  • 🖼️ process_state: grayscale + resize frames for downstream stacks
  • 🧰 Zero-fluff dependency set (Gymnasium, ALE-Py, NumPy, OpenCV)

Installation

pip install atarihelpers

Quickstart

from atarihelpers import make_environment, process_state

env = make_environment(
    "ALE/Pong-v5",
    record=True,       # 🎥 save videos to ./videos
    record_every=25,   # capture every 25th episode
)

state, _ = env.reset()
processed = process_state(
    state,
    image_size=84,     # target square size
    grayscale=True,    # convert to single channel
    resize=True,       # keep original resolution if False
)

Note: inputs should be NumPy arrays shaped (H, W, C) in BGR order (OpenCV style). Returns the processed NumPy array ready for stacking or feeding to your model.

Metadata

Release files for atarihelpers 0.0.14

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

Source distribution (sdist)

Source distribution for atarihelpers 0.0.14
File Size Uploaded Provenance Actions
atarihelpers-0.0.14.tar.gz 5.4 kB Without provenance Details for atarihelpers-0.0.14.tar.gz

Built distribution (wheel)

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

Total release size: 9.8 kB

Release files / atarihelpers-0.0.14.tar.gz

Download URL atarihelpers-0.0.14.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e0992a76e8fe14cc3534d5b53e941b329fbbcf93627a8563a274535b138f8511
BLAKE2b-256 checksum
How to use checksums
74ec1e81e644c58ae75388aee6e5422a076ba42124408cb7f442452674831263
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / atarihelpers-0.0.14-py3-none-any.whl

Download URL atarihelpers-0.0.14-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78dbbea2198220d298f2cf84357870507a3e1763c6f765fa7552403e07899017
BLAKE2b-256 checksum
How to use checksums
101ffdab4608fd357c1759609df7527288b5d3a491b6efe5e14764e2d06d99e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for atarihelpers 0.0.14

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