Python client for the Human Brain Project REST services.


Keywords
hbp, human brain project, collaboratory, library, science
License
Apache-2.0
Install
pip install hbp-service-client==1.1.1

Documentation

HBP service client

Build Status

This library is intended to help Collaboratory Application developers communicate with the core services of the platform in their Python backends or Jupyter notebooks.

Documentation

For the compiled html documentation visit https://developer.humanbrainproject.eu/docs/hbp-service-client/latest/

Installation

Install the module

pip install hbp_service_client

Development

Install the module in editable mode

Install the requirements first

pip install -r requirements.txt \
  -r test/requirements_tests.txt \
  -r doc/requirements_documentation.txt

In the project root directory execute

pip install -e .

Tests

To run the tests execute the following command from the project root directory.

pytest

Generating documentation

To compile the HTML documentation execute the following command after having the module installed in editable mode.

sphinx-build -d doc/build/doctree doc/source doc/build/html

Some RST files in the doc/source directory are not re-generated if they exist already. This might mean that newly added methods won't get their documentation added to the class's member list. You may have to edit the RST file by hand, or delete it to have sphinx re-generate it. In the latter case, you might want to rearrange the order of the class members.