8000 Releases · gbif/pygbif · GitHub
[go: up one dir, main page]

Skip to content

Releases

pygbif v0.7.0

Choose a tag to compare

@jhnwllr jhnwllr released this 07 Oct 08:16
024d21d
  • BREAKING CHANGE: occurrences.search, occurrences.count, occurrences.count_datasets, and maps.map now default to using Catalogue of Life (COL) taxonomy instead of GBIF Backbone Taxonomy. Set checklistKey=None to use GBIF backbone.
  • added support for alphanumeric taxonomy keys (e.g., kingdomKey, phylumKey, etc.) in occurrences.search to support COL's alphanumeric identifiers
  • added automatic detection of numeric taxonomy keys in occurrences.search: when numeric (integer) keys are provided without an explicit checklistKey, the function now automatically switches to GBIF Backbone taxonomy and issues a deprecation warning, encouraging migration to COL alphanumeric keys
  • preserve pygbif.search as an alias for occurrences.search and expose literature, collection, and institution search functions through their module namespaces
  • added species.gbif_to_col() function to convert GBIF Backbone numeric taxonomy keys to COL Extended Release alphanumeric keys, facilitating migration from GBIF Backbone to COL
  • species.name_lookup(), species.name_suggest(), and species.name_usage() now issue DeprecationWarning because they primarily use the outdated GBIF Backbone Taxonomy; use the datasetKey parameter to query another checklist
  • added support for checklistKey parameter in occurrences.download to specify taxonomy for download content. When provided, uses a specific checklist from ChecklistBank instead of the GBIF Backbone Taxonomy. See https://www.gbif.org/developer/occurrence#download for more information.

pygbif v0.6.6

Choose a tag to compare

@jhnwllr jhnwllr released this 14 Nov 13:50
c8b7c19
  • updated matching in occurrences.name_backbone to api v2 #176
  • added checklistKey support to occurrences.search #178
  • added support for collection.search and institution.search

pygbif v0.6.5

Choose a tag to compare

@jhnwllr jhnwllr released this 02 Dec 09:58
dd7f89c
  • added support for occurrences.download_citation #158
  • added support for occurrences.download_sql #157
  • added support for occurrences.download_describe #142
  • added support for literature.search #149

pygbif v0.6.4

Choose a tag to compare

@CecSve CecSve released this 12 Mar 12:31
2460cd5
  • fixed a bug in building the documentation with readthedocs #138 , #129
  • tests now run against live GBIF APIs #101 , #128
  • updated caching.py since the remove_expired_responses method is deprecated #126 , #127

pygbif v0.6.3

Choose a tag to compare

@CecSve CecSve released this 25 May 13:00
4120c0c
  • added support for predicates: isNull, isNotNull, in and not (#92)
  • added support for nested queries/dictionaries (#104)
  • deprecated the add_predicate function and added add_pred_dict to accomodate for newly supported predicates to ensure that the arguments that are sent are added in the payload function (#108)
  • added support for multiple download formats (#105)
  • updated operators and look-up tables (#107)
  • included documentation on newly supported predicates and dictionaries (#106)

pygbif v0.6.2

Choose a tag to compare

@MattBlissett MattBlissett released this 24 Jan 15:38

pygbif v0.6.1

Choose a tag to compare

@CecSve CecSve released this 23 Jun 10:18
  • update to fix broken dependencies (#93)
  • minor documentation updates

pygbif v0.6.0

Choose a tag to compare

@sckott sckott released this 08 Jul 23:49
1508ca9
  • Fixe for occurrences.download when giving geometry as a string rather than using add_geometry; predicates were being split on whitespace, which doesn't work for WKT (#81) (#84)
  • Moved to using the logging module instead of print() for giving information on occurrence download methods (#78)
  • Clarify that occurrences.count for length 1 inputs only; see occurrences.search for > 1 value (#75) (#77)
  • Improved documentation for species.name_usage method, mostly for the language parameter (#68)
  • Gains download method download_cancel for cancelling/deleting a download request (#59)

pygbif v0.5.0

Choose a tag to compare

@sckott sckott released this 29 Sep 23:44
4bfdb7b
  • occurrences.search now supports recordedByID and identifiedByID search parameters (#62)
  • clean up the Contributing file, thanks @niconoe (#64)
  • clean up internal imports in the library, thanks @niconoe (#65)
  • fix usage of is and ==, was using them inappropriately sometimes (via https://realpython.com/python-is-identity-vs-equality/), (#69)
  • remove redundant parameter in a doc string, thanks @faroit (#71)
  • make a test for internal fxn gbif_GET_write more general to avoid errors if GBIF changes content type response header slightly (#72)

pygbif v0.4.0

Choose a tag to compare

@sckott sckott released this 20 Nov 21:42
  • changed base url to https for all requests; was already https for maps and downloads in previous versions
  • occurrences, species, and registry modules gain docstrings with brief summary of each method
  • pygbif gains ability to cache http requests. caching is off by default. See ?pygbif.caching for all the details (#52) (#56) via @nleguillarme
  • made note in docs that if you are trying to get the same behavior as the GBIF website for name searching, species.name_backbone is likely what you want (#55) thanks @qgroom
  • for parameters that expect a bool, convert them to lowercase strings internally before doing HTTP requests
0