Habanero

Latest version: v1.2.6

Safety actively analyzes 623075 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.2.3

* now using typehints, tested on Python back to 3.6; though could work with older Python 3 versions. See the new docs for better information on types (70)
* fixed problem with usage of `warn=True`; in a for loop, an internal variable `warning_thrown` wasn't being reset after each loop iteration, with the result that all objects returned after a warning was thrown were `None` regardless of the actual result. sorry about that! (112) (113)

1.2.2

* Fixed class `WorksContainer` to work with cursor output of works results (e.g., `cr.works(query, cursor="*")`) (106) thanks IvanSterligov

1.2.0

* Added class `WorksContainer` to make handling works data easier (101)
* changed master branch to main in github development repository (103)
* exclude tests from install (105)

1.0.0

* fixes to docs/contributing.rst and package level docs for habanero (89) (90) thanks Daniel-Mietchen !
* fix limit and offset internal handling for `request` and `Request` (91) thanks Bubblbu !
* `content_negotation` throws warning now on 4xx/5xx status code to allow for bad DOIs alongside good DOIS (92)
* add example to README for querying `works` by DOI (93)
* fail better when json is not returned; try json.loads and catch ValueError (JSONDecodeError is a subclass of ValueError) (97)
* funders, journals, members, prefixes, types and works gain `warn` parameter to optionally throw a warning instead of error if a DOI is not found - not found DOI with `warn=True` returns `None` (69)

0.7.4

* `query.title` filter is deprecated, use `query.bibliographic` instead (85)

0.7.2

* `Crossref()` class gains `ua_string` option to add an additional string to the user-agent sent with every request (84)

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.