Skip to main content

Python client for GBIF

Project description


|pypi| |docs| |travis| |coverage|

Python client for the `GBIF API

`Source on GitHub at sckott/pygbif <>`__

Other GBIF clients:

* R: `rgbif`, `ropensci/rgbif <>`__


Stable from pypi

.. code-block:: console

pip install pygbif

Development version

.. code-block:: console

[sudo] pip install git+git://

`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

.. code-block:: python

from pygbif import registry

Species module

.. code-block:: python

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

Occurrences module

.. code-block:: python

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


* License: MIT, see `LICENSE file <LICENSE>`__
* Please note that this project is released with a `Contributor Code of Conduct <>`__. By participating in this project you agree to abide by its terms.

.. |pypi| image::

.. |docs| image::

.. |travis| image::

.. |coverage| image::


0.1.4 (2016-06-04)
- Added variable types throughout docs
- Changed default `limit` value to 300 for `` method
- `tox` now included, via @xrotwang (#20)
- Added more registry methods (#11)
- Started occurrence download methods (#16
- Added more names methods (#18)
- All requests now send user-agent headers with `requests` and `pygbif` versions (#13)
- Bug fix for `occurrences.download_get` (#23)
- Fixed bad example for `occurrences.get` (#22)
- Fixed wheel to be universal for 2 and 3 (#10)
- Improved documentation a lot, autodoc methods now

0.1.1 (2015-11-03)
- Fixed distribution for pypi

0.1.0 (2015-11-02)
- First release

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

pygbif-0.1.4.tar.gz (27.1 kB view hashes)

Uploaded Source

Built Distribution

pygbif-0.1.4-py2.py3-none-any.whl (38.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page