Run OpenAI Gym environments on an external process or remote machine using gRPC.
Project description
Run OpenAI Gym environments on an external process or remote machine using gRPC.
Installation
Install Gym and run:
pip install gymx
It is recommended to use a virtual environment.
Usage
Server
To start the server run:
python -m gymx
To use a different port run:
python -m gymx --port=54321
Client
Inside your application use:
from gymx import Env
env = Env('CartPole-v0')
To specify the server address use:
env = Env('CartPole-v0', address='localhost:54321')
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gymx-0.0.0.tar.gz
(5.2 kB
view hashes)