Skip to main content

PAIAGym

A platform to run Gymnasium or PettingZoo games with AI.

Installation

pip install paiagym

Usage

Install a game:

paiagym install <game_name>

Uninstall a game:

paiagym uninstall <game_name>

Run the inferencing with given information by the environment variable:

paiagym run

Run the inferencing with given script path:

paiagym run <game_name> -i <script_path>

Run the training with given information by the environment variable:

paiagym train

Run the training with given script path:

paiagym train <game_name> -i <script_path>

List all added games:

paiagym ls

List all available games:

paiagym ls -a

List games in development:

paiagym ls -m dev

List games in production:

paiagym ls -m prod

Usage for Container

You can checkout the Dockerfile for the Docker container.

To build the Docker image:

docker build -t paiagym:base . --no-cache

If you are using Linux server, run before starting the container (install and config X server with NVIDIA Driver):

sudo sh display.sh

display.sh can be found at display.sh.

To start the container:

docker run -it --rm --gpus all -v /tmp/.X11-unix:/tmp/.X11-unix paiagym:base

Release files for paiagym 0.0.4

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

Source distribution (sdist)

Source distribution for paiagym 0.0.4
File Size Uploaded
paiagym-0.0.4.tar.gz 10.8 kB Details

Built distribution (wheel)

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

Total release size: 20.2 kB

Release files / paiagym-0.0.4.tar.gz

Download URL paiagym-0.0.4.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b5469d50b7a5afcbf7797af35dafd0301310ccf304fc0f163a6fc721fee08255
BLAKE2b-256 checksum
How to use checksums
96af328cd975ad0a5c7395e3bfdd47443f966ce885afac3f5b6eda42ef8eda69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / paiagym-0.0.4-py3-none-any.whl

Download URL paiagym-0.0.4-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c93b64c1d9774d7dd09986bc76405392e9aaaf860d8590703c464a326c2a3031
BLAKE2b-256 checksum
How to use checksums
71d2e1a096c44c20277e729db17429c319cfed7a47a5fd1e2f31099268c5dcde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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