Skip to main content

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

Regi0 works with Python versions 3.7 through 3.9.

Using pip:

pip install regi0

Using conda:

conda install -c conda-forge

Execution

To check whether the installation of wiutils was successful, 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 environment 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 virtual 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.

Metadata

Release files for regi0 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for regi0 0.2.4
File Size Uploaded
regi0-0.2.4.tar.gz 25.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for regi0 0.2.4
File Interpreter ABI Platform
regi0-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 58.2 kB

Release files / regi0-0.2.4.tar.gz

Download URL regi0-0.2.4.tar.gz
Size 25.3 kB
Tags Source
SHA-256 checksum
How to use checksums
038008a34cb74beda7b788ba6d8e9cc5db686fc6debfc238e533954f8ba0ac2d
BLAKE2b-256 checksum
How to use checksums
9d80c6a8a5ef8fcdce5b498ae5b32453461b39244b0036b2002273ce34ddbae0
Upload date
Uploaded using Trusted Publishing?
What is 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.12

Release files / regi0-0.2.4-py3-none-any.whl

Download URL regi0-0.2.4-py3-none-any.whl
Size 32.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d13440791e8e5fa8615305cfd20255a870ff964d9634ad18f4d965bf8146dda9
BLAKE2b-256 checksum
How to use checksums
72111014851d5f7f24cb10f6ab56dcf89aa57325b18c7d0042b275235bba2e87
Upload date
Uploaded using Trusted Publishing?
What is 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.12

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page