Python API to Biolovision API and applications using it
Project description
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.
Windows:
Install Python from Microsoft store
Add python script directory to Path, as described in How to add Python to Windows PATH.
Linux: 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
This docker only contains the application and requires an external Postgresql database.
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
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 Client_API_VN-2.12.0.tar.gz
.
File metadata
- Download URL: Client_API_VN-2.12.0.tar.gz
- Upload date:
- Size: 173.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cff0d5fe402d8fc27a58343081e71f4c8886f71b6410b3114110dbea2f61b87f |
|
MD5 | dfd2b7a544d63bc41953eb084dc06317 |
|
BLAKE2b-256 | 8ced72b7ea1fe70d0eacaa2f6241e1fabc913ba1de55dddd77d379deefa5fbe9 |
File details
Details for the file Client_API_VN-2.12.0-py2.py3-none-any.whl
.
File metadata
- Download URL: Client_API_VN-2.12.0-py2.py3-none-any.whl
- Upload date:
- Size: 101.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a6d15fca0cd4b5ed4cf19e45c9484aeb18424e1166420f2e723b64a37302a37 |
|
MD5 | cbf5092905d592d037b40cf6e07aa404 |
|
BLAKE2b-256 | 42ae1d7caf09204cd92346eec55d69d301a822f1cb650290605682af32d64f56 |