Skip to main content

alenax

A JAX wrapper for the Arcade Learning Environment, compatible with Gymnax.

Installation

pip install alenax

Requires Python >= 3.10.

Usage

import jax
from alenax import AtariEnv

env = AtariEnv("pong")
key = jax.random.PRNGKey(0)

obs, state = env.reset(key)
obs, state, reward, done, info = env.step(key, state, action)

All environment methods are JIT-compiled and support jax.vmap for batched execution.

Wrappers

from alenax import ClipReward, EpisodicLife, RecordEpisodeStatistics

env = AtariEnv("pong")
env = ClipReward(env)              # Clip rewards to [-1, 1]
env = EpisodicLife(env)            # Treat life loss as episode end
env = RecordEpisodeStatistics(env) # Track episode returns and lengths

Metadata

Release files for alenax 0.1.3

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

Source distribution (sdist)

Source distribution for alenax 0.1.3
File Size Uploaded
alenax-0.1.3.tar.gz 5.2 kB Details

Built distribution (wheel)

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

Total release size: 11.0 kB

Release files / alenax-0.1.3.tar.gz

Download URL alenax-0.1.3.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
61bbdfdd877530464f09705ace1b84308434f444db4307ed5bdba373dd2b4dda
BLAKE2b-256 checksum
How to use checksums
5f612862b03518989ccef85e5c853ea8bc72cd094762d68d94fcc0651d3a5373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / alenax-0.1.3-py3-none-any.whl

Download URL alenax-0.1.3-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80914590537adad8f0c823799147dea6c57ae4bf2723b2859a661bb5045288d7
BLAKE2b-256 checksum
How to use checksums
4b2664b395d6cf820b2021a9d180721610e971d0a55bed35aae5c61dc5a56cde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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