Releases: gbif/pygbif
Releases · gbif/pygbif
pygbif v0.6.4
pygbif v0.6.3
- added support for predicates:
isNull
,isNotNull
,in
andnot
(#92) - added support for nested queries/dictionaries (#104)
- deprecated the
add_predicate
function and addedadd_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
- update to fix requesting GBIF downloads (gbif/portal-feedback#4526)
- minor documentation updates (#95, #99)
pygbif v0.6.1
- update to fix broken dependencies (#93)
- minor documentation updates
pygbif v0.6.0
- Fixe for
occurrences.download
when givinggeometry
as a string rather than usingadd_geometry
; predicates were being split on whitespace, which doesn't work for WKT (#81) (#84) - Moved to using the
logging
module instead ofprint()
for giving information on occurrence download methods (#78) - Clarify that
occurrences.count
for length 1 inputs only; seeoccurrences.search
for > 1 value (#75) (#77) - Improved documentation for
species.name_usage
method, mostly for thelanguage
parameter (#68) - Gains download method
download_cancel
for cancelling/deleting a download request (#59)
pygbif v0.5.0
occurrences.search
now supportsrecordedByID
andidentifiedByID
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
- 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
pygbif v0.3.0
0.3.0 (2019-01-25)
- pygbif is Python 3 only now (#19)
- Gains maps module with maps.map method for working with the GBIF maps API (#41) (#49)
- Gains new module utils with one method
wkt_rewind
(#46) thanks @aubreymoore for the inspiration - Fixed bug in registry.installations: typo in one of the parameters
identifierTyp
instead ofidentifierType
(#48) thanks @data-biodiversity-aq - Link to GitHub issues from Changelog 🎉
- Fix a occurrence download test (#47)
- Much more thorough docs (#25)
pygbif v0.2.0
0.2.0 (2016-10-18)
- Download methods much improved (#16) (#27) thanks @jlegind @stijnvanhoey @peterdesmet !
- MULTIPOLYGON now supported in
geometry
parameter (#35) - Fixed docs for
occurrences.get
, andoccurrences.get_verbatim
,occurrences.get_fragment
and demo that used occurrence keys that no longer exist in GBIF (#39) - Added
organizations
method toregistry
module (#12) - Added remainder of datasets methods:
registry.dataset_search
(including faceting support (#37)) andregistry.dataset_suggest
, for the/dataset/search
and/dataset/suggest
routes, respectively (#40) - Added remainder of species methods:
species.name_lookup
(including faceting support (#38)) andspecies.name_usage
, for the/species/search
and/species
routes, respectively (#18) - Added more tests to cover new methods
- Changed
species.name_suggest
to give back data stucture as received from GBIF. We used to parse out the classification data, but for simplicity and speed, that is left up to the user now. start
parameter inspecies.name_suggest
,occurrences.download_list
,registry.organizations
,registry.nodes
,registry.networks
, andregistry.installations
, changed tooffset
to match GBIF API and match usage throughout remainder ofpygbif
0.1.5.4 (2016-10-01)
- Added many new
occurrence.search
parameters, includingrepatriated
,kingdomKey
,phylumKey
,classKey
,orderKey
,familyKey
,genusKey
,subgenusKey
,establishmentMeans
,facet
,facetMincount
,facetMultiselect
, and support for facet paging via**kwargs
(#30) (#34) - Fixes to
**kwargs
inoccurrence.search
so that facet parameters can be parsed correctly andrequests
GET request options are collected correctly (#36) - Added
spellCheck
parameter tooccurrence.search
that goes along with theq
parameter to optionally spell check full text searches (#31)
pygbif v0.1.4
- Added variable types throughout docs
- Changed default
limit
value to 300 foroccurrences.search
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
andpygbif
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