Python simulation of a driving challange. Compatible with the Gymnasium API standard.
Project description
ProcGrid Traffic Gym (PGTG)
ProcGrid Traffic Gym (PGTG) is a driving simulation on a grid with procedural generated maps and traffic. It is fully compatible with the Gymnasium API standard.
Getting Started
Installation
PGTG is available on PyPi and can be installed with all major package managers:
pip install pgtg
Usage
The easiest way to use PGTG is to create the environment with gymnasium:
import pgtg
env = gymnasium.make("pgtg-v2")
The package relies on import
side-effects to register the environment name so, even though the package is never explicitly used, its import is necessary to access the environment.
The environment constructor can also be used directly:
from pgtg import PGTGEnv
env = PGTGEnv()
Documentation
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
Built Distribution
File details
Details for the file pgtg-0.5.0.tar.gz
.
File metadata
- Download URL: pgtg-0.5.0.tar.gz
- Upload date:
- Size: 52.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e8426969aacf91deae3f834f7790aaef039a1ec4b975b4279c3be2a0b1cd2e83
|
|
MD5 |
b1404489448967450ce1156ca39d0571
|
|
BLAKE2b-256 |
af8245dd02b98e3439229f24fe5b48556de44f4545b07ab8f65e40eb6da2a75a
|
File details
Details for the file pgtg-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: pgtg-0.5.0-py3-none-any.whl
- Upload date:
- Size: 59.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
88fcef38a10c8e5a953a0896c405f59262c9c8a776c60830ef41f9065cd3a9b0
|
|
MD5 |
f0652b242056ff66d486fa4dc87aabd1
|
|
BLAKE2b-256 |
299f63d4ba108a797335bdfb29a197eb08d8dd1ab1ae63da7756fa8dbd119c9a
|