Metadata-Version: 2.0
Name: bonsai-python
Version: 0.3.0
Summary: A library creating and training AIs with Bonsai BRAIN
Home-page: http://github.com/BonsaiAI/bonsai-python
Author: Bonsai Engineering
Author-email: opensource@bons.ai
License: BSD
Keywords: bonsai
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Natural Language :: English
Requires-Dist: websockets (<4,>=3.1)
Requires-Dist: protobuf (>=3.0.0,<4)
Requires-Dist: bonsai-config (>=0.2.0)

Bonsai SDK
==========
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.


