Skip to main content

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


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.9.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

ecoobs-0.1.9-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file ecoobs-0.1.9.tar.gz.

File metadata

  • Download URL: ecoobs-0.1.9.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ecoobs-0.1.9.tar.gz
Algorithm Hash digest
SHA256 c1ee2481b0c766c060a13439657ba29eb522524ffa82520e0efc6edcdbbbb641
MD5 91120dfe0abb76db0970a89a58bf6d34
BLAKE2b-256 746d60f5d8ba26339bdc2368d030df5f885505a19590f570febbb75e8d05fa9a

See more details on using hashes here.

File details

Details for the file ecoobs-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: ecoobs-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ecoobs-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6d437668f8e0d05a6db27dc2fa1566217e936cca646590b1043de9ed62d8f9bd
MD5 c08976ebcb38f7abbf92a9517fa9a9d2
BLAKE2b-256 d7eb3bfb91373e2a6fb9c76951c57b0480b47ae06503d4f1bde9e5376f925e5d

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