A Python toolset for interacting with API of BrainSTEM.
Project description
BrainSTEM Python API Tools
The brainstem_python_api_tools is a Python toolset for interacting with the BrainSTEM API, designed for researchers and developers working with neuroscience data.
Installation
You can install the package using pip:
pip install brainstem_python_api_tools
Getting Started
To get started with the BrainSTEM API tools, please refer to the tutorial script provided:
- Tutorial:
brainstem_api_tutorial.py
The tutorial demonstrates how to:
- Authenticate: Load the client and authenticate using your credentials.
- Loading Data: Load sessions and filter data using flexible options.
- Updating Entries: Modify existing models and update them in the database.
- Creating Entries: Submit new data entries with required fields.
- Loading Public Data: Access public projects and data using the public portal.
Example Usage
from brainstem_api_tools import BrainstemClient
client = BrainstemClient()
response = client.load_model('session', sort=['name'])
print(response.json())
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests on GitHub.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
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 Distribution
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 brainstem_python_api_tools-0.2.0.tar.gz.
File metadata
- Download URL: brainstem_python_api_tools-0.2.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d7724ef256e7da398860fe66be4c2105852bf6fe84521f1c6dd6f983e3aa3b3
|
|
| MD5 |
218247b709d79d2adf296dd0a4fbc591
|
|
| BLAKE2b-256 |
d64b2a1707846bb64b44e5ec588a61a5cef16232ed9bbc9b007c59cae3159ae1
|
File details
Details for the file brainstem_python_api_tools-0.2.0-py3-none-any.whl.
File metadata
- Download URL: brainstem_python_api_tools-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8da6b2ea8c899b526aab78719cc7af548da10f3207608bc0ded67efa1108c33
|
|
| MD5 |
c3316c3439b7a7a5f005f973535f8b8b
|
|
| BLAKE2b-256 |
b37f787017831c25f9984f15b00911005c2e01d368279d4ed8fe9062ad2029c0
|