DeepRacer Gym
A Gymnasium wrapper for the
AWS DeepRacer
simulator. Each deepracer-v0 environment automatically launches its own
containerized simulator (Docker/Podman/Apptainer), then exposes it through the standard gymnasium API.
Install
Requirements:
- Python 3.12+
- Linux (tested on Ubuntu 20.04+), macOS, or Windows (via WSL2)
- A container runtime: Docker, Podman, or Apptainer (e.g. for rootless runs on HPC)
- Sufficient hardware resources (recommended ~3 CPUs, ~6 GB RAM per environment)
pip install deepracer
Quick Start
import gymnasium as gym
import deepracer
env = gym.make("deepracer-v0") # starts a simulator service on demand
observation, info = env.reset()
observation, reward, terminated, truncated, info = env.step(
env.action_space.sample()
)
env.close() # stops + removes the simulator service
See the full documentation for details.
Release files for deepracer 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deepracer-0.1.4.tar.gz | 36.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deepracer-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 68.1 kB
Release files / deepracer-0.1.4.tar.gz
| Download URL | deepracer-0.1.4.tar.gz |
|---|---|
| Size | 36.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b20531ae0e39f6c2066e93fdcabc75374c1c22b1a05cc837ae42d2c47e941dd
|
|
BLAKE2b-256 checksum How to use checksums |
cbfcfc9433e39034b65dd8186f7a8e6bde6ca987940002f709107bcc1cc26f5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.
Transparency logRelease files / deepracer-0.1.4-py3-none-any.whl
| Download URL | deepracer-0.1.4-py3-none-any.whl |
|---|---|
| Size | 31.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d74f957a6a2a1f0a93903b10531c5ad1dac3be5b037250c9cfa1cbf40ac0588f
|
|
BLAKE2b-256 checksum How to use checksums |
29c9d490051b390650188f4c99bf1df19717e5e004047229e8239c438c6e5921
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.
Transparency log