Skip to main content

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')

Metadata

Release files for bonsai-config 0.4.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for bonsai-config 0.4.5
File Interpreter ABI Platform
bonsai_config-0.4.5-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / bonsai_config-0.4.5-py2.py3-none-any.whl

Download URL bonsai_config-0.4.5-py2.py3-none-any.whl
Size 5.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d4d0e00767bdf2c2e5739a3198ed2bb18dc432705e32500a69ae2928e08cc1f8
BLAKE2b-256 checksum
How to use checksums
76115ea8154f2e2b95aa3433bcd562683d8227ed3f011f7260cb573f209aa353
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for bonsai-config 0.4.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page