xrotwang / pygbif

GBIF Python client

Home Page:http://pygbif.rtfd.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pygbif

pypi docs travis coverage

Python client for the GBIF API.

Source on GitHub at sckott/pygbif

Other GBIF clients:

Installation

Stable from pypi

pip install pygbif

Development version

[sudo] pip install git+git://github.com/sckott/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

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

Note that GBIF maps API is not included in pygbif.

Registry module

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

Species module

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

Occurrences module

from pygbif import occurrences as occ
occ.search(taxonKey = 3329049)
occ.get(taxonKey = 252408386)
occ.count(isGeoreferenced = True)
occ.download_list(user = "sckott", limit = 5)
occ.download_meta(key = "0000099-140929101555934")
occ.download_get("0000099-140929101555934")

Meta

About

GBIF Python client

http://pygbif.rtfd.org

License:MIT License


Languages

Language:Python 90.0%Language:Jupyter Notebook 9.5%Language:Makefile 0.6%