Skip to main content

A Python toolkit to complement and verify biological records.

Project description

Regi0

Regi0 is a Python package with useful functions to complement and verify biological records. These functions are divided into two main modules (geographic and taxonomic) and rely on both user data and several web APIs (e.g. GNR, IUCN and Species+).

Installation

Using pip:

pip install regi0

Using conda:

conda install -c conda-forge

Ejecución

To check whether the installation of wiutils was succesful, execute the following command:

python -c "import regi0"

If this does not throw any error, the installation was successful.

You can use any regi0 function by importing the package from a Python console or script. You can also execute flexible and predefined geographic and taxonomic verification workflows using regi0's command line interface (CLI). For more information about the available functions and the CLI, check the documentation.

How to contribute

It is recommended to install the package using a virtual environment to avoid tampering other Python installations in your system.

  1. Clone this repo in your computer:
git clone https://github.com/PEM-Humboldt/regi0.git
  1. Go to the project's root:
cd regi0
  1. Install the package in development mode:
pip install --editable .[dev,docs,test]

Considering regi0 has dependencies such as fiona and rasterio, which may require additional installation steps to the ones described above (see 1 and 2), it is also recommended using a conda virtual environemnent to install it and avoid having to manually install other dependencies.

  1. Go to the project's root and create the conda virtual environment:
conda env create -f environment.yml
  1. Activate the conda virutal environment:
conda activate regi0-dev
  1. Install the package in development mode:
pip install --editable .[dev,docs,test]

Unit tests

Go to the project's root and execute:

pytest tests/

Authors and contributors

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

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

regi0-0.2.2.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

regi0-0.2.2-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file regi0-0.2.2.tar.gz.

File metadata

  • Download URL: regi0-0.2.2.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for regi0-0.2.2.tar.gz
Algorithm Hash digest
SHA256 451bb9a2b1cca3ee00f32f3ede28862c422995cd8a01bef8fda0ee14b3911fff
MD5 20763d9e8fe2e76dd819a64dcebabc8f
BLAKE2b-256 6ab5ae6dd61f3264931e3232f2047db9ca4f6625a632a52be560bb6f5b18dbd6

See more details on using hashes here.

File details

Details for the file regi0-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: regi0-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for regi0-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d6a1d70f22fd6e1d1936ba756721994b8e466ba3bd309cd05c00a061ac86bc10
MD5 2cda8472f02c5b27f2da6be4f0ab27ad
BLAKE2b-256 267793a8dd475f4f534ebdb1fb8a56f887e78d2d5b387bb3f23c982dca5570f9

See more details on using hashes here.

Supported by

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