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.
Metadata
Release files for bonsai-python 0.13.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bonsai_python-0.13.5-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / bonsai_python-0.13.5-py2.py3-none-any.whl
| Download URL | bonsai_python-0.13.5-py2.py3-none-any.whl |
|---|---|
| Size | 45.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
45e7072d9d5f2e7eaa42bdc8c4b0d2b62eec376227b72ddf4982389d5e39041b
|
|
BLAKE2b-256 checksum How to use checksums |
d62cc0b2bfc9f4029ba223ef4b5d52c059e12694c21e2d139fe26d5d0eb3784b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bonsai-python 0.13.5
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.