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.1.tar.gz (35.3 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.1-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepracer-0.1.1.tar.gz
  • Upload date:
  • Size: 35.3 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.1.tar.gz
Algorithm Hash digest
SHA256 2ad278ca5bd0e41d7235b06c89bd15a0dcc819ad381fd1c7e061b7d2ba5ca882
MD5 542d6836a9a38ca51ac075e9a04a7946
BLAKE2b-256 f5df6837ed16549078da45bb06cca29526a818de2f887bd4e41cb7117400705f

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepracer-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: deepracer-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 31.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec8be9c0a216fdd23c81014e516778957008c60999ebaa0c4159a83db84ee38f
MD5 78a7f9fda8c845cccc162727f2b75feb
BLAKE2b-256 b626e3a7715ea6739ef37c7a4460f599a97cb0b15a8fbd387a785999b4c93dbe

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepracer-0.1.1-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