Skip to main content

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

# Use "http://dev_balder_2_app_1/" as URL if from Jupyter Notebook at jupyter.nextgendem.eu
c = Client("http://localhost:5000/")  # 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()

Package authors

  • Rafael Nebot Medina. ITC-DCCT (Instituto Tecnológico de Canarias, SA - Departamento de Computación)
  • Daniel Reyes Parrilla. ITC-DCCT

Nextgendem Platform

  • Alejandro Curbelo Fontelos. ITC-DCCT
  • Juli Caujapé Castells. JBCVC-UACSIC (Jardín Botánico Canario "Viera y Clavijo", Unidad asociada CSIC)
  • Ruth Jaén Molina. JBCVC-UACSIC
  • Antonio Díaz Pérez. Gesplan (Gestión y Planeamiento del territorio, SA)
  • Isabel Saro Hernández. JBCVC-UACSIC
  • Carlos Caraballo. 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


Download files

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

Source Distribution

ngd-biond-0.3.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

ngd_biond-0.3-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file ngd-biond-0.3.tar.gz.

File metadata

  • Download URL: ngd-biond-0.3.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.7.0 requests/2.24.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.6

File hashes

Hashes for ngd-biond-0.3.tar.gz
Algorithm Hash digest
SHA256 aa6492b08aba73e50b5e5d8d896404a5bc39292c5afb87d1aa3f89a8250dcc1a
MD5 d31fe98ca8603d0224122baf9941d871
BLAKE2b-256 1f22a38857a53660b86ec15a6ba20bb417ebfd454feeb48e0c3ba397212a4ea1

See more details on using hashes here.

File details

Details for the file ngd_biond-0.3-py3-none-any.whl.

File metadata

  • Download URL: ngd_biond-0.3-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.7.0 requests/2.24.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.6

File hashes

Hashes for ngd_biond-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d0c018991b0241a77c29020041d9e9e538d4d76dc0686e2381937c97f4bc8363
MD5 627ce39bcf97ae643e197cea985f0033
BLAKE2b-256 e6a3549c45e8f699f74b3146d610ef3f28b9625f0662fa6b03bcb24b1aefec62

See more details on using hashes here.

Supported by

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