Skip to main content

Python API to Biolovision API and applications using it

Project description

https://img.shields.io/badge/code%20style-black-000000.svg PyPI - Status PyPI - Python Version PyPI - License https://codecov.io/gh/dthonon/Client_API_VN/branch/develop/graph/badge.svg

Presentation

Python applications that use Biolovision/VisioNature (VN) API to:

  • download data from VN sites and stores it to a Postgresql database.

  • update sightings directly in VN site

Applications are available either as:

  • Python modules from PyPI

  • Docker images from Docker Hub

They are tested under Linux Ubuntu >20 or Debian 10. Other Linux distributions could work. Windows is not tested at all and will probably not work.

See Documentation for more informations.

A thin Python layer on top of Biolovision API is provided, as described in API Manual.

Installation - Python

These instructions present the steps required to install the Python applications.

Add the following debian packages:

sudo apt -y install build-essential python3-dev python3-venv

Create a python virtual environment, activate it and update basic tools:

python3 -m venv env_VN
source env_VN/bin/activate
python -m pip install --upgrade pip

Install from PyPI:

pip install Client-API-VN

Installation - Docker

These instructions present the steps required to install the Docker applications:

docker pull dthonon/client-api-vn
docker run --name xfer_vn \
           --mount source=xfer_vn,target=/root \
           --workdir /root \
           --tty --interactive \
           dthonon/client-api-vn bash

The following steps are the common to both Python and Docker installation.

Getting Started - transfer_vn

See Documentation for more informations.

Getting Started - update_vn

See Documentation for more informations.

Prerequisites

For Linux and Postgresql installation, refer to Server installation.

Installation requires the following python module:

pip

All other python dependencies are managed by pip install.

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

Client_API_VN-2.11.0.tar.gz (169.6 kB view details)

Uploaded Source

Built Distribution

Client_API_VN-2.11.0-py2.py3-none-any.whl (100.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Client_API_VN-2.11.0.tar.gz.

File metadata

  • Download URL: Client_API_VN-2.11.0.tar.gz
  • Upload date:
  • Size: 169.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for Client_API_VN-2.11.0.tar.gz
Algorithm Hash digest
SHA256 9ffa2e4b318fe681de03f1f7012f552ab3b7f1700cfbcb7dd9f9f75811594840
MD5 ea5cb99dba694df8a182fe4fcf116779
BLAKE2b-256 1a2333f89ccfe0581464e63e362f5ca1d535fe48699540c5ee5636302fc307ac

See more details on using hashes here.

File details

Details for the file Client_API_VN-2.11.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for Client_API_VN-2.11.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 df4e03041fe7c92def30d4742318715488015607a4905545bd8354e46a8922bf
MD5 aa26da48641924f81adddfd99eaf76c8
BLAKE2b-256 d50f000d13f062619fe8b7a8f005ca8dbfd83e9e5df192f2032baf3ece3ac1f6

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