Skip to main content

A Gymnasium wrapper for the AWS DeepRacer simulator

Project description

DeepRacer Gym

PyPI Downloads Python License: MIT Tests Coverage Docker Pulls DOI

DeepRacer

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepracer-0.1.2.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deepracer-0.1.2-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

File details

Details for the file deepracer-0.1.2.tar.gz.

File metadata

  • Download URL: deepracer-0.1.2.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for deepracer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d51534c7e168388adfc0d7c6da8c688d593d99cdb26bb3d43eef5859131cd66a
MD5 24ab92c8f0baa4062ea87dfd315d6906
BLAKE2b-256 96f32aafe50d5a9d9674f57f4f873d9b24e45f2263ba026b3b7f5df560591329

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepracer-0.1.2.tar.gz:

Publisher: publish-pypi.yml on uzairakbar/deepracer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deepracer-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: deepracer-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 31.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for deepracer-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 39a7993e1abe75a0ac319b1b4228c2c1430636b10abc8ca2c06811a9d7ed9ee3
MD5 d7a9861889cf712170ba75b542420d43
BLAKE2b-256 73793bf4181470245e4f2bdfa39a9250c8e3e822c6c8526107317556ca42fe8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepracer-0.1.2-py3-none-any.whl:

Publisher: publish-pypi.yml on uzairakbar/deepracer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page