Skip to main content

Entity Gym

Project description

Entity Gym

Actions Status PyPI Documentation Status Discord

Entity Gym is an open source Python library that defines an entity based API for reinforcement learning environments. Entity Gym extends the standard paradigm of fixed-size observation spaces by allowing observations to contain dynamically-sized lists of entities. This enables a seamless and highly efficient interface with simulators, games, and other complex environments whose state can be naturally expressed as a collection of entities.

The ENN-PPO library can be used to train agents for Entity Gym environments.

Installation

pip install entity-gym

Usage

  • The Quick Start Guide walks you through the process of implementing and running a simple grid-world environment.
  • The Advanced Tutorial goes into additional detail about environments in which the agent controls multiple entities.

Examples

A number of simple example environments can be found in entity_gym/examples. The ENN-Zoo project implements Entity Gym bindings for Procgen, Griddly, MicroRTS, VizDoom, and CodeCraft.

API Reference

TODO

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

entity-gym-0.1.1.tar.gz (35.6 kB view details)

Uploaded Source

Built Distribution

entity_gym-0.1.1-py3-none-any.whl (50.5 kB view details)

Uploaded Python 3

File details

Details for the file entity-gym-0.1.1.tar.gz.

File metadata

  • Download URL: entity-gym-0.1.1.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.12 Linux/5.13.0-1022-azure

File hashes

Hashes for entity-gym-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4b846d7d216f32a3d8c8ac17214437ccd65ec5eda15c55bdd107dd5cc329d84e
MD5 c516c786e1a262b329e61ce7467a465c
BLAKE2b-256 b6285994fa35ab84cf367197ec51d01fe03c1eebd230e1d8982922e16b04f23b

See more details on using hashes here.

File details

Details for the file entity_gym-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: entity_gym-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 50.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.12 Linux/5.13.0-1022-azure

File hashes

Hashes for entity_gym-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25af00d72ade87b9fcbb31b28d3f6e6a2f064f454b5f7fee3c0588876bf7cb01
MD5 650675864089498ae8f7e3e3e4f71eaf
BLAKE2b-256 bfeab2ee563e3f94ca8f5d91b2f5c8daa489a55580c3b47b6a5c8ad8036577e1

See more details on using hashes here.

Supported by

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