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

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 System

  • 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ngd_biond-0.2-py3.10.egg (44.7 kB view details)

Uploaded Source

File details

Details for the file ngd_biond-0.2-py3.10.egg.

File metadata

  • Download URL: ngd_biond-0.2-py3.10.egg
  • Upload date:
  • Size: 44.7 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.2-py3.10.egg
Algorithm Hash digest
SHA256 346812d8523ca331e44ecb2d3c4b21b415ccfb7f3f0f8fc5b76304b3873d7238
MD5 305ab84c1fe8e6632770e279ed822330
BLAKE2b-256 79dd4003eec8e52b08364e5874b1033b8e4033e729a2fc5596135b620433e6d8

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