Skip to content

Commit

Permalink
Release 0.6.2.
Browse files Browse the repository at this point in the history
Resolves #99.
Resolves #95.
  • Loading branch information
MattBlissett committed Jan 24, 2023
1 parent 675adf0 commit a3e82c2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions Changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

0.6.2 (2023-01-24)
------------------
- update to fix requesting GBIF downloads
- minor documentation updates :issue:`95` and :issue:`99`

0.6.1 (2022-06-23)
------------------
- update to fix broken dependencies :issue:`93`
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Bug reports

Please report bug reports on our `issue tracker`_.

.. _issue tracker: https://github.com/sckotr/pygbif/issues
.. _issue tracker: https://github.com/gbif/pygbif/issues


Feature requests
Expand Down
8 changes: 4 additions & 4 deletions pygbif/occurrences/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ def download(queries, user=None, pwd=None, email=None, pred_type="and"):
for more info, and the predicates docs
http://www.gbif.org/developer/occurrence#predicates
GBIF has a limit of 12,000 characters for download queries - so
if you're download request is really, really long and complex,
consider breaking it up into multiple requests by one factor or
another.
GBIF has a limit of 100,000 predicates and 10,000 points (in within
predicates) for download queries – so if your download request is
particularly complex, you may need to split it into multiple
requests by one factor or another.
:return: A dictionary, of results
Expand Down
2 changes: 1 addition & 1 deletion pygbif/occurrences/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def search(
or ``south_america``
:param fields: [str] Default (``all``) returns all fields. ``minimal`` returns just taxon name,
key, latitude, and longitude. Or specify each field you want returned by name, e.g.
``fields = c('name','latitude','elevation')``.
``fields = ['name','latitude','elevation']``.
:param mediatype: [str] Media type. Default is ``NULL``, so no filtering on mediatype. Options:
``NULL``, ``MovingImage``, ``Sound``, and ``StillImage``
:param limit: [int] Number of results to return. Default: ``300``
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

setup(
name="pygbif",
version="0.6.1",
version="0.6.2",
description="Python client for GBIF",
long_description=long_description,
long_description_content_type="text/x-rst",
author="Scott Chamberlain",
author_email="myrmecocystus@gmail.com",
url="http://github.com/gbif/pygbif",
download_url="https://github.com/gbif/pygbif/archive/refs/tags/v0.6.1.tar.gz",
download_url="https://github.com/gbif/pygbif/archive/refs/tags/v0.6.2.tar.gz",
license="MIT",
packages=find_packages(exclude=["test-*"]),
install_requires=[
Expand Down

0 comments on commit a3e82c2

Please sign in to comment.