Extruct

Latest version: v0.18.0

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

Scan your dependencies

Page 4 of 5

0.3.1

-------------------

* Fix dependencies and support RDFa by default (hence depend on rdflib by default).
* Update README with all-in-one extractor examples.

0.3.0

-------------------

* All extractors have an ``.extract_items()`` method, taking an lxml-parsed
document as input, if you want to reuse one you already have.
* Add generic extraction: use ``extruct.extract()`` to call all extractors
at once.

0.3.0a2

---------------------

Warning: backward-incompatible change:

* ``.extract()`` methods now return a list of Python dicts (the items)
instead of a dict with an "items" key having this list as value.

0.3.0a1

---------------------

* Use rdflib's pyRdfa directly instead of pyRdfa3 code copy.

0.3.0a0

---------------------

* (Very) Experimental support for RDFa extraction using rdflib+lxml

0.2.0

-------------------

* Web service response content-type set to 'application/json'
* Web service Python 3 compatibility
* Code coverage reports
* Fix extraction of ``<object>`` "data" URL with microdata
* Handle textContent mixed with ``<script>`` and ``<style>`` tags
* Add JSON-LD extraction example to README
* Tests added for non-nested microdata output
* Tests added for text content option
* Tests added for "meter" and "data" attributes

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.