Skip to main content

No project description provided

Project description

HippoGym

Human Input Parsing Platform for Openai Gym

Fury - PyPi stable version PePy - Downloads PePy - Downloads per week

Codacy - grade Codacy - coverage CodeStyle - Black CodeStyle - Ruff

Purpose:

HippoGym is a python library for simplifying human-ai interaction research over the web. The library provides a communicator that opens a websocket to pass environment information and recieve commands and actions from browser-based front-end.

The library is designed to be customizable for diverse research applications. The framework is naive in that it makes no assumptions about how human or agents input will be used, it simply provides the mechanism to pass along and record this information.

Installation

pip install hippogym

Examples

Lunar Lander with human agent

Copy and run the lunar lander example.

You should see: Backend log success lunar

Then connect a client to the websocket using the host and port, you can use the irll frontend: https://beta.irll.net/?server=ws://localhost:5000

You can now play with either the command pannel or the keyboard: Frontend display lunar

Minigrid with human agent

Copy and run the minigrid example.

You should see: Backend log success minigrid

Then connect a client to the websocket using the host and port, you can use the irll frontend: https://beta.irll.net/?server=ws://localhost:5000

You can now play with either the command pannel or the keyboard: Frontend display minigrid

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

hippogym-2.0.0a2.tar.gz (7.8 MB view hashes)

Uploaded Source

Built Distribution

hippogym-2.0.0a2-py3-none-any.whl (27.6 kB view hashes)

Uploaded Python 3

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