Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A library to integrate Bonsai BRAIN with OpenAI Gym environments

Project description

A python library for integrating Bonsai BRAIN with Open AI Gym environments.

Installation

Install the latest stable from PyPI:

$ pip install bonsai-gym-common

Install the latest in-development version:

$ pip install https://github.com/BonsaiAI/bonsai-gym-common

Usage

Once installed, import bonsai_gym_common in order to access base class GymSimulator and GymImageSimulator, which implement all of the environment-independent Bonsai SDK integrations necessary to train a Bonsai BRAIN to play an OpenAI Gym simulator.

import gym

from bonsai_gym_common import GymSimulator

class CartPoleSimulator(GymSimulator):
    # Perform cartpole-specific integrations here.

Project details


Release history Release notifications

This version
History Node

0.7.4

History Node

0.7.3

History Node

0.7.2

History Node

0.7.1

History Node

0.7.0

History Node

0.6.2

History Node

0.6.1

History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.1

History Node

0.3.0

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
bonsai_gym_common-0.7.4-py2.py3-none-any.whl (8.5 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Feb 20, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page