A library for Species Occurence data retrieval from GBIF, iNaturalist, and SpeciesLink APIs.
Project description
USAGE.md
Overview
ecoobs is a library designed to facilitate data management and processing for scientific and research applications.
Getting Started
Installation
pip install ecoobs
Basic Usage
import ecoobs
# Example: Download occurrences from GBIF, iNaturalist, and SpeciesLink - INaturalist doesn't require any authentication.
ecoobs.save_specieslink_apikey(apikey)
ecoobs.save_gbif_credentials(user, email, pwd)
species_names = ["Panthera onca", "Lynx rufus"]
df = ecoobs.get_occurrences(
species_names,
country="Brazil",
year_range=(2000, 2020),
)
Functions
get_occurrences(species_names, country=None, year_range=None, lat_min=None, lat_max=None, lon_min = None, lon_max = None, includeGbif = True, includeInaturalist = True, includeSpeciesLink = True): Fetches occurrence data for the specified species from GBIF, iNaturalist, and SpeciesLink (you can choose the source), with optional filters for country, year range, and latitude bounds.get_species_autocomplete(name): Retrieves a list of species suggestions from GBIF based on the provided name.save_gbif_credentials(user, email, pwd): Saves GBIF user credentials for authenticated requests.save_specieslink_apikey(apikey): Saves the API key for SpeciesLink requests.delete_gbif_credentials(): Deletes stored GBIF user credentials.delete_specieslink_apikey(): Deletes the stored SpeciesLink API key.
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
ecoobs-0.1.6.tar.gz
(11.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ecoobs-0.1.6-py3-none-any.whl
(12.5 kB
view details)
File details
Details for the file ecoobs-0.1.6.tar.gz.
File metadata
- Download URL: ecoobs-0.1.6.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
448dc9040d4fa5aac528a0e5361a8c1230e3901126407c4e212e6cf9aa899712
|
|
| MD5 |
ed275e4a5547bad01e5929a4a8e4a0f7
|
|
| BLAKE2b-256 |
1acf0af2ca73c402980d4c7bd13ba29ec89ffd5f049a1edfb0af36f803548998
|
File details
Details for the file ecoobs-0.1.6-py3-none-any.whl.
File metadata
- Download URL: ecoobs-0.1.6-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1248b309abe119a89b6d131a993b4c78b5959e0a4f17ea4f6705a9a4691b0dae
|
|
| MD5 |
4f075be26fe0ca0d131256e40f8dd100
|
|
| BLAKE2b-256 |
84eb63a19d8c3d808ee01c32bb1b7a1e62b82107b73e5baaf29df5dcf7b2a13d
|