--- id: pyrdfa3 version: "3.6.5" license: unclear license_treatment: unclear maintenance: aging --- # pyrdfa3 — pyRdfa distiller/parser library License: unclear · Maintenance: aging · Downloads: 585.8K/mo ## What it is and what it does pyRdfa3 is a Python library that parses RDFa 1.1 markup embedded in HTML documents and distills it into structured RDF data. It reads HTML files or web pages containing RDFa annotations—semantic metadata embedded as HTML attributes—and extracts the underlying RDF triples, which can then be queried or manipulated using rdflib. The package is built on three core dependencies: requests for fetching remote HTML, rdflib for representing and working with RDF graphs, and html5lib for robust HTML parsing. It supports Python 3.8 and higher and is designed for developers working with semantic web standards, linked data, or applications that need to extract structured metadata from web pages. Use it for: - Extract structured data from web pages marked up with RDFa to build knowledge graphs or semantic search indexes. - Convert RDFa-annotated HTML documents into RDF/Turtle or other RDF serialization formats for downstream processing. - Validate or test RDFa markup compliance in HTML documents against the RDFa 1.1 specification. - Integrate semantic web data extraction into data pipelines that consume linked data from third-party websites. - Build tools that harvest schema.org or other RDFa vocabularies from HTML to populate databases or ontologies. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Parses RDFa markup embedded in HTML documents and extracts structured RDF data using the RDFa 1.1 specification. Yes, with conditions. The package has low install friction and no known vulnerabilities, making it technically safe to use. However, the original maintainer has retired and the package is now community-maintained with minimal activity (1 star, aging status, last commit in January 2026). Install it if you need RDFa 1.1 parsing and are comfortable with a stable but not actively developed library; verify the unclear license terms before use in commercial or restricted-license projects. ## Install pip install pyrdfa3 uv add pyrdfa3 poetry add pyrdfa3 ## Installing pyrdfa3 Before you install: Low install friction with three straightforward dependencies (requests, rdflib, html5lib). However, the original maintainer has stepped back and the package is now maintained by a community contributor; the repository is archived but not abandoned. Last commit was recent, but the aging status and low star count suggest limited active development. License in practice: License treatment is unclear—the classifier indicates W3C License approval, but no explicit SPDX or raw license text is recorded in the package metadata. Verify the actual license terms before relying on this package in a commercial or restricted-license context. Quickstart: pip install pyRdfa3 import pyRdfa from rdflib import Graph graph = pyRdfa.parse('http://example.com/page.html') # graph is an rdflib Graph object containing extracted RDF triples Requires Python 3.8 or higher; requests 2.32.3 or higher, rdflib 7.0.0 or higher, and html5lib 1.1. Verify before relying: - Whether the W3C License classifier accurately reflects the actual license terms and any restrictions on use. - Current maintenance status and responsiveness to issues given the original maintainer's retirement and community takeover. - Whether the package handles all RDFa 1.1 edge cases or if there are known parsing limitations. ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 585.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags rdfa parser, extract rdf from html, rdfa distiller, semantic web markup, html rdfa extraction, rdflib rdfa, w3c rdfa 1.1, semantic-web, linked-data, rdf [View on SkillFed](https://skillfed.io/packages/pyrdfa3) · [View on PyPI](https://pypi.org/project/pyrdfa3/)