Scripts for working with the Global Biodiversity Information Facility (GBIF). https://spacecruft.org/deepcrayon/gbif-cruft
Go to file
Jeff Moe f671439f6f regex fix json, issue #1 2023-09-29 08:13:06 -06:00
sample Add sample GBIF JSON output 2023-09-29 08:12:38 -06:00
.gitignore Ignore temp files 2023-09-29 07:34:35 -06:00
LICENSE-AGPL AGPLv3 2023-09-29 07:34:02 -06:00
LICENSE-CC CC by SA 4.0 International 2023-09-29 07:34:22 -06:00
README.md Note black, pygbif in doc 2023-09-29 07:52:03 -06:00
gbif-cruft-json regex fix json, issue #1 2023-09-29 08:13:06 -06:00
requirements-dev.txt Use black for formatting 2023-09-29 07:51:42 -06:00
requirements.txt pygbif dep 2023-09-29 07:36:10 -06:00

README.md

GBIF Cruft

Crufty scripts for working with Global Biodiversity Information Facility (GBIF) data.

Install

Install thusly.

Using Debian Bookworm (stable/12) as a base.

Dependencies

Dependencies that may be needed:

apt install git python3-pip python3-virtualenv

Python

Get code and set up Python, suit to taste, such as:

git clone https://spacecruft.org/deepcrayon/gbif-cruft
cd gbif-cruft
virtualenv -p python3 env
source env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Run

Thusly:

./gbif-cruft

Usage

Help:

./gbif-cruft -h

Example

Such as:

./gbif-cruft foo
{"snark": "foo"}

Development

To "develop", install the requirements:

pip install -r requirements-dev.txt

Then run black on the Python files for nice formatting:

black gbif-cruft*

Upstream

GBIF

The main upstream project is the Global Biodiversity Information Facility:

pygbif:

Copyright

Unofficial project, not related to the Global Biodiversity Information Facility.

Upstream sources under their respective copyrights.

License

Data: CC By SA 4.0 International.

Source Code: AGPLv3+.

Copyright © 2023, Jeff Moe.