Skip to main content

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.

Metadata

Release files for ecoobs 0.1.96

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

Source distribution (sdist)

Source distribution for ecoobs 0.1.96
File Size Uploaded Provenance Actions
ecoobs-0.1.96.tar.gz 11.8 kB Without provenance Details for ecoobs-0.1.96.tar.gz

Built distribution (wheel)

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

Total release size: 25.4 kB

Release files / ecoobs-0.1.96.tar.gz

Download URL ecoobs-0.1.96.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fbfead14a88ce7ed329c49e2ef06d06002901ed846a646e8e8c16c36a48b848e
BLAKE2b-256 checksum
How to use checksums
3448af43318b67babd83f648ee7c9b7290c842cc2048336aa82f184d51118dff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / ecoobs-0.1.96-py3-none-any.whl

Download URL ecoobs-0.1.96-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf5685d85e652d61a262416d80b4452c856ff6a939a2b54d7e34678e5b17e29e
BLAKE2b-256 checksum
How to use checksums
88dd0c0ce6047f56d9db36b118ae7fd0967214b54e43e11183ccdade5d7b4853
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for ecoobs 0.1.96

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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