Skip to main content

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.

Release files for bonsai-gym-common 0.7.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for bonsai-gym-common 0.7.4
File Interpreter ABI Platform
bonsai_gym_common-0.7.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / bonsai_gym_common-0.7.4-py2.py3-none-any.whl

Download URL bonsai_gym_common-0.7.4-py2.py3-none-any.whl
Size 8.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e4e11ee0ab1307cf5a06d7bbb5e11f26cad7534383373d2f0de586e9587e6a99
BLAKE2b-256 checksum
How to use checksums
d661aed80e2aa71c4945660a571d9c569d980e7733c368704bbb773ab3ea4aae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.7.4 This release

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page