Skip to main content

A python library reading and writing bonsai configuration files

Project description

A python library reading and writing bonsai configuration files.

Installation

Install the latest stable from PyPI:

$ pip install bonsai-config

Install the latest in-development version:

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

Usage

Once installed, import bonsai_config in order to access methods to read and write configuration files used by bonsai-cli and bonsai-python.

from bonsai_config import BonsaiConfig

# Read properties from the main bonsai config file:
bonsai_config = BonsaiConfig()
print(bonsai_config.username())
print(bonsai_config.access_key())

# Write properties to the main bonsai config file:
bonsai_config = BonsaiConfig()
bonsai_config.update_access_key_and_username('new_access_key', 'new_username')

Project details


Release history Release notifications

History Node

0.4.5

This version
History Node

0.4.4

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.1

History Node

0.3.0

History Node

0.2.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
bonsai_config-0.4.4-py2.py3-none-any.whl (5.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Feb 13, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page