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

Metadata

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 Provenance Actions
paiagym-0.0.4.tar.gz 10.8 kB Without provenance Details for paiagym-0.0.4.tar.gz

Built distribution (wheel)

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

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

Security for paiagym 0.0.4

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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