GitXplorerGitXplorer
p

gym-pull

public
45 stars
19 forks
5 issues

Commits

List of commits on branch master.
Unverified
5b2797fd081ba5be26544983d1eba764e6d9f73b

1.7 - AttributeError: module 'gym.monitoring' has no attribute 'monitor'

pppaquette committed 8 years ago
Unverified
5e2737d4934caf6a7e6ef9989ec71f50bb16c0c4

Bump version

pppaquette committed 8 years ago
Unverified
280ac897b25b54668a175200f7efbdf34395fa77

Added 'format=legacy' to pip list to disable deprecated warning

pppaquette committed 8 years ago
Unverified
59c18d1936643f6b7739ae4108c650404a8e08ab

Bump version

pppaquette committed 8 years ago
Unverified
a940e51752f9a888420c7961f3f3a05fb06f3b7c

'pip' now replaced with 'pip2' and 'pip3' depending on python version

pppaquette committed 8 years ago
Unverified
742f0297741fcc16888a16f56a6e7f59d6137e12

Bump version

pppaquette committed 8 years ago

README

The README file for this repository.

gym-pull

Gym Pull is an add-on for OpenAI Gym that allows the automatic downloading of user environments.

Note: This package is not longer actively maintained.


Installation ============

gym-pull should be downloaded through pip with the command: pip install gym-pull

To run the add-on, you need to import gym, and then gym-pull:

.. code:: python

  import gym
  import gym_pull
Basic Usage ======

The basic syntax for pulling a user environment is

.. code:: python

  import gym
  import gym_pull
  gym_pull.pull('github.com/github_username/github_repo')

The repo github_username/github_repo must be a valid pip package.

Alternatively, you can

  • specify a branch, tag, or commit using the "@" syntax. gym_pull.pull('github.com/username/repo@branch')

The downloaded environment will be registered as USERNAME/ENV_NAME-vVERSION. You can then make the environment using the gym.make() command.

Listing Installed Environments ======

You can list all installed environments by running gym_pull.list().

Alternatively, you can view all user environments installed by running [env for env in gym_pull.list() where '/' in env].