All Projects → gbif → pygbif

gbif / pygbif

Licence: MIT license
GBIF Python client

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to pygbif

finch
⚠️ ARCHIVED ⚠️ Read Darwin Core Archive files
Stars: ✭ 17 (-69.09%)
Mutual labels:  biodiversity, gbif
CityNet
A neural network classifier for urban soundscapes
Stars: ✭ 21 (-61.82%)
Mutual labels:  ecology, biodiversity
rafagas
Daily geospatial links curated by Raf Roset
Stars: ✭ 17 (-69.09%)
Mutual labels:  ecology, biodiversity
rsMove
Remote Sensing for Movement Ecology
Stars: ✭ 25 (-54.55%)
Mutual labels:  ecology
fgeo
[Meta R-package on CRAN] Analyse forest diversity and dynamics
Stars: ✭ 22 (-60%)
Mutual labels:  ecology
VIAME
Video and Image Analytics for Multiple Environments
Stars: ✭ 200 (+263.64%)
Mutual labels:  ecology
infomap ecology package
Package with functions to handle network data and run Infomap, inspired by ecological networks
Stars: ✭ 14 (-74.55%)
Mutual labels:  ecology
ecobrowser
Save the world by using Eco Browser
Stars: ✭ 17 (-69.09%)
Mutual labels:  ecology
SpatialDataScience
Introduction to Data Science with R
Stars: ✭ 29 (-47.27%)
Mutual labels:  ecology
envo
A community-driven ontology for the representation of environments
Stars: ✭ 106 (+92.73%)
Mutual labels:  ecology
CellForest
A cellular-automaton forest simulation set to live data-driven music.
Stars: ✭ 19 (-65.45%)
Mutual labels:  ecology
Circuitscape.py
Circuitscape uses electronic circuit theory to solve problems in landscape ecology.
Stars: ✭ 26 (-52.73%)
Mutual labels:  ecology
NEON-Data-Skills
Self-paced tutorials that review key data literacy concepts and data analysis skills. Published materials can be found at:
Stars: ✭ 67 (+21.82%)
Mutual labels:  ecology
GLM
Code for the General Lake Model
Stars: ✭ 30 (-45.45%)
Mutual labels:  ecology
SpatialEcology.jl
Julia framework for spatial ecology - data types and utilities
Stars: ✭ 50 (-9.09%)
Mutual labels:  ecology
sdmTMB
🌎 An R package for spatial and spatiotemporal GLMMs with TMB
Stars: ✭ 92 (+67.27%)
Mutual labels:  ecology
Ecoleta
♻️ Aplicação web para coleta de resíduos de forma eficiente.
Stars: ✭ 19 (-65.45%)
Mutual labels:  ecology
deep learning ecology
Educational Resources on Neural Networks for Ecology and Remote Sensing
Stars: ✭ 45 (-18.18%)
Mutual labels:  ecology
pyinaturalist
Python client for iNaturalist
Stars: ✭ 68 (+23.64%)
Mutual labels:  biodiversity
EcoBase.jl
No description or website provided.
Stars: ✭ 16 (-70.91%)
Mutual labels:  ecology

pygbif

pypi docs ghactions coverage black

Python client for the GBIF API

Source on GitHub at gbif/pygbif

Other GBIF clients:

Contributing: CONTRIBUTING.md

Installation

Stable from pypi

pip install pygbif

Development version

[sudo] pip install git+git://github.com/gbif/pygbif.git#egg=pygbif

pygbif is split up into modules for each of the major groups of API methods.

  • Registry - Datasets, Nodes, Installations, Networks, Organizations
  • Species - Taxonomic names
  • Occurrences - Occurrence data, including the download API
  • Maps - Maps, get raster maps from GBIF as png or mvt

You can import the entire library, or each module individually as needed.

In addition there is a utils module, currently with one method: wkt_rewind, and a caching method to manage whether HTTP requests are cached or not. See ?pygbif.caching.

Registry module

registry module API:

  • organizations
  • nodes
  • networks
  • installations
  • datasets
  • dataset_metrics
  • dataset_suggest
  • dataset_search

Example usage:

from pygbif import registry
registry.dataset_metrics(uuid='3f8a1297-3259-4700-91fc-acc4170b27ce')

Species module

species module API:

  • name_backbone
  • name_suggest
  • name_usage
  • name_lookup
  • name_parser

Example usage:

from pygbif import species
species.name_suggest(q='Puma concolor')

Occurrences module

registry module API:

  • search
  • get
  • get_verbatim
  • get_fragment
  • count
  • count_basisofrecord
  • count_year
  • count_datasets
  • count_countries
  • count_schema
  • count_publishingcountries
  • download
  • download_meta
  • download_list
  • download_get

Example usage:

from pygbif import occurrences as occ
occ.search(taxonKey = 3329049)
occ.get(key = 252408386)
occ.count(isGeoreferenced = True)
occ.download('basisOfRecord = PRESERVED_SPECIMEN')
occ.download('taxonKey = 3119195')
occ.download('decimalLatitude > 50')
occ.download_list(user = "sckott", limit = 5)
occ.download_meta(key = "0000099-140929101555934")
occ.download_get("0000066-140928181241064")

Maps module

maps module API:

  • map

Example usage:

from pygbif import maps
out = maps.map(taxonKey = 212, year = 1998, bin = "hex",
       hexPerTile = 30, style = "classic-noborder.poly")
out.response
out.path
out.img
out.plot()

https://github.com/gbif/pygbif/raw/master/gbif_map.png

utils module

utils module API:

  • wkt_rewind

Example usage:

from pygbif import utils
x = 'POLYGON((144.6 13.2, 144.6 13.6, 144.9 13.6, 144.9 13.2, 144.6 13.2))'
utils.wkt_rewind(x)

Contributors

Meta

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].