Client to NGD backend
Project description
Python client for NGD Backend
A Python client package to operate with NGD-Backend
NGD Backend purpose is to manage and process Bar Code of Life information, applied to decision-making in conservation of biodiversity. It is a software system (a set of software components) developed as part of project "NEXTGENDEM" activities. BCS-Backend is the main component, an engine capable of managing bioinformatic information (import, export, visualization) and providing easy access to bioinformatic processes by filling parameters and submitting to available compute resources.
Getting started
Prerequisites
- Python >= 3.8
- An NGD backend instance has to be running and accessible. The URL of the API endpoint is the required parameter for the construction of the client. See the example in "Basic Usage" section below.
- An API Key to authenticate into the NGD Backend instance (go to the GUI of NGD and request and download an API Key file)
Installing
pip install ngd-biond
Basic Usage
from biond import Client
c = Client("http://localhost:5000/api") # Construct client
c.check_backend_available()
c.login(
"api_key_file.txt") # Login, using API Key in a file (direct API key not supported to avoid unintended upload of API keys)
c.logout()
Authors
- Rafael Nebot Medina. ITC-DCCT (Instituto Tecnológico de Canarias, SA - Departamento de Computación)
- Daniel Reyes Parrilla. ITC-DCCT
License
This project is licensed under the BSD-3 License - see the LICENSE file for details
Acknowledgements
The development of this software was carried out under project NEXTGENDEM (https://www.nextgendem.eu), funded by the Interreg MAC 2014-2020 Cooperation Programme with project code "MAC2/4.6d/236". This work reflects the authors' view only; the funding agencies are not responsible for any use that may be made of the information it contains.
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
File details
Details for the file ngd-biond-0.1.tar.gz
.
File metadata
- Download URL: ngd-biond-0.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e68639637a25c4b8b2bece4a33ac68ac08a3848d93a2f52ffb63fa53e63ceaed |
|
MD5 | 1ea0ee9cdc8fd66ec3005d85734cdffd |
|
BLAKE2b-256 | 74931abeff732b440a071f836ac10a56033225ab7f09f9c20fff7072c9c1bc6c |
File details
Details for the file ngd_biond-0.1-py3-none-any.whl
.
File metadata
- Download URL: ngd_biond-0.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d2323624c82d0531dbabc7c1ef7bbbb0baed6c68202c1b905a62275acde12ec |
|
MD5 | 69bcc499f292be7f3b724ec931e55574 |
|
BLAKE2b-256 | b1ab3dfb4f77ba3a0e6ebc4ac131bbc97d8f3462958353c658d23151f359a980 |