{"adoption": {"forks": 655, "observed_at": "2026-08-28T04:06:42.720191+00:00", "stars": 2387}, "canonical_url": "https://ross.abutalabs.com/products/xhtml2pdf", "card": {"archived": false, "artifact_type": "library", "description": "A library for converting HTML into PDFs using ReportLab", "domain": ["pdf", "web-development", "files", "developer-tools"], "enriched": true, "function": ["pdf", "templating"], "health_score": 91, "homepage": "https://xhtml2pdf.readthedocs.io/", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["xhtml2pdf/xhtml2pdf"], "name": "xhtml2pdf/xhtml2pdf", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-26T03:06:12+00:00", "repo": "xhtml2pdf/xhtml2pdf", "stars": 2387, "tags": ["html-to-pdf", "reportlab", "css", "document-generation", "pure-python", "html"], "topics": ["html-pdf", "html-pdf-converter", "html-to-pdf", "html-to-pdf-converter", "pdf", "pdf-converter", "pdf-generation", "pypdf", "python", "reportlab", "reportlab-pdf"], "urls": [], "use_cases": ["convert html to pdf in python", "generate pdf invoices from html templates", "create pdf reports from web templates", "render html css to pdf server-side", "generate printable pdf documents from django or flask", "produce pdf files without learning reportlab"], "what_it_is": "xhtml2pdf is a pure-Python library that converts HTML and CSS (HTML5, CSS 2.1, partial CSS 3) into PDF documents using ReportLab, html5lib, and pypdf. It lets developers with web skills generate PDF templates without learning new rendering technologies.", "when_to_avoid": ["you need full modern CSS 3 layout support (flexbox, grid) - consider WeasyPrint or a headless browser", "you need pixel-perfect rendering of complex JavaScript-driven pages", "you require very high-fidelity print typography"], "when_to_choose": ["you or your team already know HTML and CSS and want to author PDF templates quickly", "you need a pure-Python, platform-independent PDF generation solution", "you want a lightweight alternative to headless browsers for PDF rendering"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/xhtml2pdf", "repo": "xhtml2pdf/xhtml2pdf", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.720191+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.496602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f96f3a0594ad5ed3d3233c7ba3b9dae641bdc55b06a04008db80956a800530d5", "fetched_at": "2026-08-28T04:06:42.720191+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xhtml2pdf/xhtml2pdf"}, {"content_hash": "67a3549fbba0554c1c5c0c4ab232f40351e29ffd73725ab4e6e6e63fbe3838de", "fetched_at": "2026-08-29T10:15:50.945366+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/xhtml2pdf/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.720191+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.496602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f96f3a0594ad5ed3d3233c7ba3b9dae641bdc55b06a04008db80956a800530d5", "fetched_at": "2026-08-28T04:06:42.720191+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xhtml2pdf/xhtml2pdf"}, {"content_hash": "67a3549fbba0554c1c5c0c4ab232f40351e29ffd73725ab4e6e6e63fbe3838de", "fetched_at": "2026-08-29T10:15:50.945366+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/xhtml2pdf/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.496602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f96f3a0594ad5ed3d3233c7ba3b9dae641bdc55b06a04008db80956a800530d5", "fetched_at": "2026-08-28T04:06:42.720191+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xhtml2pdf/xhtml2pdf"}, {"content_hash": "67a3549fbba0554c1c5c0c4ab232f40351e29ffd73725ab4e6e6e63fbe3838de", "fetched_at": "2026-08-29T10:15:50.945366+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/xhtml2pdf/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.720191+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.720191+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.720191+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.496602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f96f3a0594ad5ed3d3233c7ba3b9dae641bdc55b06a04008db80956a800530d5", "fetched_at": "2026-08-28T04:06:42.720191+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xhtml2pdf/xhtml2pdf"}, {"content_hash": "67a3549fbba0554c1c5c0c4ab232f40351e29ffd73725ab4e6e6e63fbe3838de", "fetched_at": "2026-08-29T10:15:50.945366+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/xhtml2pdf/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.720191+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.720191+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.496602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f96f3a0594ad5ed3d3233c7ba3b9dae641bdc55b06a04008db80956a800530d5", "fetched_at": "2026-08-28T04:06:42.720191+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xhtml2pdf/xhtml2pdf"}, {"content_hash": "67a3549fbba0554c1c5c0c4ab232f40351e29ffd73725ab4e6e6e63fbe3838de", "fetched_at": "2026-08-29T10:15:50.945366+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/xhtml2pdf/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.720191+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.720191+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.720191+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.496602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f96f3a0594ad5ed3d3233c7ba3b9dae641bdc55b06a04008db80956a800530d5", "fetched_at": "2026-08-28T04:06:42.720191+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xhtml2pdf/xhtml2pdf"}, {"content_hash": "67a3549fbba0554c1c5c0c4ab232f40351e29ffd73725ab4e6e6e63fbe3838de", "fetched_at": "2026-08-29T10:15:50.945366+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/xhtml2pdf/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.720191+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.720191+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.496602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f96f3a0594ad5ed3d3233c7ba3b9dae641bdc55b06a04008db80956a800530d5", "fetched_at": "2026-08-28T04:06:42.720191+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xhtml2pdf/xhtml2pdf"}, {"content_hash": "67a3549fbba0554c1c5c0c4ab232f40351e29ffd73725ab4e6e6e63fbe3838de", "fetched_at": "2026-08-29T10:15:50.945366+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/xhtml2pdf/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.496602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f96f3a0594ad5ed3d3233c7ba3b9dae641bdc55b06a04008db80956a800530d5", "fetched_at": "2026-08-28T04:06:42.720191+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xhtml2pdf/xhtml2pdf"}, {"content_hash": "67a3549fbba0554c1c5c0c4ab232f40351e29ffd73725ab4e6e6e63fbe3838de", "fetched_at": "2026-08-29T10:15:50.945366+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/xhtml2pdf/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.496602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f96f3a0594ad5ed3d3233c7ba3b9dae641bdc55b06a04008db80956a800530d5", "fetched_at": "2026-08-28T04:06:42.720191+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xhtml2pdf/xhtml2pdf"}, {"content_hash": "67a3549fbba0554c1c5c0c4ab232f40351e29ffd73725ab4e6e6e63fbe3838de", "fetched_at": "2026-08-29T10:15:50.945366+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/xhtml2pdf/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.496602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f96f3a0594ad5ed3d3233c7ba3b9dae641bdc55b06a04008db80956a800530d5", "fetched_at": "2026-08-28T04:06:42.720191+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xhtml2pdf/xhtml2pdf"}, {"content_hash": "67a3549fbba0554c1c5c0c4ab232f40351e29ffd73725ab4e6e6e63fbe3838de", "fetched_at": "2026-08-29T10:15:50.945366+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/xhtml2pdf/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5588, "days_push": 7, "days_rel": 556, "gap_med": null, "n_releases_24m": 1}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}