Elastic-wikidata

Latest version: v1.0.1

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

Scan your dependencies

Page 1 of 2

1.0.1

- **bug fix:** no longer silently fails when object value has unsupported data type, instead returning the entire object in dict format.

1.0.0

- **enhancement (breaking change):** properties now passed as whitespace-separated list rather than comma-separated. They can also be passed through a config file by giving the `--properties` option a filename to a file that exists.
- **stability improvements:** `elasticsearch.helpers.streaming_bulk` now used instead of `elasticsearch.helpers.parallel_bulk` due to issues with memory usage of the latter. Bulk load now retries on timeout.

0.3.7

- **fix:** reading from JSON dump forces utf-8

0.3.6

- **fix:** handles documents which are missing any of *labels/aliases/descriptions/claims* fields.
- **enhancement:** `wd_entities.simplify_wbgetentities_result` gives the option to return the redirected QID for Wikidata pages which redirect. By default it returns the undirected QID: the same one that was passed into the function.

0.3.5

- **fix:** `wd_entities.simplify_wbgetentities_result` can handle type *quantity*, and returns the value of *amount*.

0.3.4

- **enhancement:** `wd_entities.get_entities` now has a `get_labels` method to get labels for a list of QIDs in a particular language using the wbgetentities API.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.