Skip to main content

Bonsai Gym Common

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

Installation

Install the latest stable from PyPI:

$ pip install bonsai-gym

Usage

Once installed, import bonsai_gym in order to access base class GymSimulator, which implements 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 import GymSimulator

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

Metadata

Release files for bonsai-gym 2.0.13

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

Source distribution (sdist)

Source distribution for bonsai-gym 2.0.13
File Size Uploaded Provenance
bonsai-gym-2.0.13.tar.gz 4.6 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 10.8 kB

Release files / bonsai-gym-2.0.13.tar.gz

Download URL bonsai-gym-2.0.13.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8cec2c5d3b5f2c5c63c585bbfeec1e1d1c09648eae9e38d148cacf68bac10f97
BLAKE2b-256 checksum
How to use checksums
36a35cfcb2d5e1a140ef3c22b2fbd391f7839acd2f26e951fcd32a75d5608045
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Release files / bonsai_gym-2.0.13-py2.py3-none-any.whl

Download URL bonsai_gym-2.0.13-py2.py3-none-any.whl
Size 6.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7eea1d283b2dd6141bb635080c0d7a92fd3ef49f6304fb7c2fbaa1ca8ce9bad8
BLAKE2b-256 checksum
How to use checksums
4d06fc63f5746221bd1f9ebb7f98b8998693cf3c3677bb3b9c37486c6dce6b14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Security for bonsai-gym 2.0.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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