A python library for making API calls to Bonsai BRAIN.
Project description
A python library for making API calls to Bonsai BRAIN.
Installation
Install the latest stable from PyPI:
$ pip install bonsai-cli
Install the latest in-development version:
$ pip install https://github.com/BonsaiAI/bonsai-cli
Usage
After first install, or when authentication credentials need to be refreshed:
$ bonsai configure
Alpha users: 1 - Authenticate using a Beta account to generate the ~/.bonsai config. 2 - Patch ~/.bonsai with:
webhost = alpha.int.bons.ai, host = alpha-api.bons.ai
Load a new or existing brain and initiate training:
$ bonsai brain load brain_name /path/to/file.ink $ bonsai brain train brain_name
Load an existing brain and deploy it for production use:
$ bonsai brain load brain_name /path/to/file.ink $ bonsai brain deploy brain_name
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for bonsai_cli-0.5.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0bb7db8f7a244fa5e4a42c28091fe29b0896c0a29501f54ced35df49a0f6b8f |
|
MD5 | df5b5f1510d20dec18dd528e0cdda8cb |
|
BLAKE2b-256 | f2688eb933181dcc7dddeff6b8349b5e28b8dd77136df81bde247bcdb48658b0 |