Skip to main content

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


Download files

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

Source Distribution

brainstem_python_api_tools-0.2.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brainstem_python_api_tools-0.2.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file brainstem_python_api_tools-0.2.0.tar.gz.

File metadata

File hashes

Hashes for brainstem_python_api_tools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9d7724ef256e7da398860fe66be4c2105852bf6fe84521f1c6dd6f983e3aa3b3
MD5 218247b709d79d2adf296dd0a4fbc591
BLAKE2b-256 d64b2a1707846bb64b44e5ec588a61a5cef16232ed9bbc9b007c59cae3159ae1

See more details on using hashes here.

File details

Details for the file brainstem_python_api_tools-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for brainstem_python_api_tools-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8da6b2ea8c899b526aab78719cc7af548da10f3207608bc0ded67efa1108c33
MD5 c3316c3439b7a7a5f005f973535f8b8b
BLAKE2b-256 b37f787017831c25f9984f15b00911005c2e01d368279d4ed8fe9062ad2029c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page