Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A library creating and training AIs with Bonsai BRAIN

Project Description

A python library for integrating data sources with Bonsai BRAIN.

Installation

$ pip install bonsai-python

Install the latest stable from PyPI:

$ pip install bonsai-python

Install the latest in-development version:

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

Usage

Subclass either bonsai.Simulator or bonsai.Generator, implementing the necessary required methods.

class MySimulator(bonsai.Simulator):
    # Simulator methods implementations...

Run your simulator with the helper method from bonsai.BrainServerConnection.

$ python3
> import bonsai
> bonsai.run_for_training_or_prediction(
.     "my_simulator", MySimulator())

Note that the schema used by your simulator (or generator), as well as the name used to identify it, should match the schemas and identifier in the corresponding inkling file.

Release History

This version
History Node

0.13.3

History Node

0.13.2

History Node

0.13.1

History Node

0.13.0

History Node

0.12.1

History Node

0.11.2

History Node

0.11.1

History Node

0.11.0

History Node

0.10.1

History Node

0.10.0

History Node

0.9.0

History Node

0.8.0

History Node

0.7.1

History Node

0.6.2

History Node

0.6.1

History Node

0.6.0

History Node

0.5.1

History Node

0.5.0

History Node

0.4.0

History Node

0.3.0

History Node

0.2.1

Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
bonsai_python-0.13.3-py2.py3-none-any.whl
(41.2 kB) Copy SHA256 Hash SHA256
py2.py3 Wheel Feb 20, 2018

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting