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 | 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bonsai_config-0.4.5-py2.py3-none-any.whl.
File metadata
- Download URL: bonsai_config-0.4.5-py2.py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4d0e00767bdf2c2e5739a3198ed2bb18dc432705e32500a69ae2928e08cc1f8
|
|
| MD5 |
681233ccb930379d866bbe09fbefa663
|
|
| BLAKE2b-256 |
76115ea8154f2e2b95aa3433bcd562683d8227ed3f011f7260cb573f209aa353
|