An open API service indexing awesome lists of open source software.

https://github.com/humanbrainproject/hbp-service-client

Clients for HBP Collaboratory Services
https://github.com/humanbrainproject/hbp-service-client

Last synced: 5 months ago
JSON representation

Clients for HBP Collaboratory Services

Awesome Lists containing this project

README

          

# HBP service client

[![Build Status](https://travis-ci.org/HumanBrainProject/hbp-service-client.svg?branch=master)](https://travis-ci.org/HumanBrainProject/hbp-service-client)

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
```bash
pip install hbp_service_client
```
## Development

### Install the module in editable mode

Install the requirements first

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

In the project root directory execute

```bash
pip install -e .
```

### Tests

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

```bash
pytest
```

### Generating documentation

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

```bash
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.

## Acknowledgement

This open source software code was developed in part or in whole in the Human Brain Project, funded from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under Specific Grant Agreements No. 720270 and No. 785907 (Human Brain Project SGA1 and SGA2).