{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"},{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"}],"enrichment":{"capability":"Parses HTML documents into tree structures compatible with RDFLib, implementing the WHATWG HTML specification and supporting multiple tree builders like xml.etree, lxml, and xml.dom.minidom.","skillfed_tags":["rdf-integration","html-parsing","semantic-web"],"use_cases":["Extract structured data from HTML documents for conversion to RDF graphs using RDFLib.","Parse HTML with WHATWG-compliant error recovery when building semantic web applications.","Integrate HTML parsing into RDF data pipelines where standard HTML5 compliance is required.","Use alternative tree builders (lxml, minidom) when specific XML processing workflows are needed.","Handle HTTP responses with charset detection for proper encoding when fetching remote HTML."],"what_it_does":"html5rdf is a Python library that parses HTML documents into tree structures suitable for use with RDFLib, the semantic web toolkit. It is a fork of html5lib designed to conform to the WHATWG HTML specification as implemented by major web browsers. The parser accepts HTML from files, strings, or HTTP responses and can output to multiple tree formats\u2014xml.etree (default), lxml.etree, or xml.dom.minidom\u2014allowing flexibility in how you work with the parsed structure.\n\nThe library has no runtime dependencies and supports Python 3.8 through 3.12 on both CPython and PyPy (with caveats around lxml). It is intended for developers who need to extract or transform HTML into RDF-compatible structures, particularly when working within the RDFLib ecosystem. Optional dependencies like lxml, genshi, and chardet can enhance functionality for specific use cases.","worth_installing":"Yes, if you need WHATWG-compliant HTML parsing specifically for RDFLib workflows. The library has low install friction, no runtime dependencies, and permissive licensing. However, the 653-day gap since last release combined with aging maintenance status suggests limited active development\u2014suitable for stable use cases but verify that it meets your RDF integration needs before adopting in new projects."},"id":"html5rdf","links":{"html":"https://skillfed.io/packages/html5rdf","md":"https://skillfed.io/packages/html5rdf.md","pypi":"https://pypi.org/project/html5rdf/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-10-30","license_spdx":null,"license_treatment":"permissive","name":"html5rdf","python_support":"supports_current","summary":"HTML parser based on the WHATWG HTML specification"},"popularity":{"monthly_downloads":862453,"position":4869,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.2.1"}
