# JazzCore/python-pdfkit

Wkhtmltopdf python wrapper to convert html to pdf

Repository: https://github.com/JazzCore/python-pdfkit
Canonical: https://ross.abutalabs.com/products/python-pdfkit
Language: Python
License: MIT
License Family: permissive
Last push: 2023-10-26T11:22:53+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4987, "days_push": 1042, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2045, forks 326 (observed 2026-08-28T04:06:08.837449+00:00)

## What it is
A Python 3 wrapper around the wkhtmltopdf utility that converts HTML, URLs, or strings into PDF documents using Webkit rendering. It exposes wkhtmltopdf options through a simple Python API and is now deprecated following the upstream wkhtmltopdf project's status.

## Use cases
- convert html to pdf in python
- generate pdf from url
- render html report as pdf
- batch convert html files to pdf
- generate invoices as pdf from templates

## When to choose
- you already depend on wkhtmltopdf and need a thin Python wrapper
- you need quick HTML-to-PDF conversion with headers, footers, and TOC support
- your environment already has a patched wkhtmltopdf binary installed

## When to avoid
- starting a new project, since both this library and wkhtmltopdf are deprecated
- you need actively maintained rendering or modern CSS support (consider WeasyPrint or headless Chrome)
- you cannot install external native binaries

## Facets
- artifact type: library
- maturity: abandoned
- function: pdf, parser, developer-tools
- domain: pdf, web-development, developer-tools
- platform: python, windows, cli
- tags: wkhtmltopdf, html-to-pdf, deprecated, webkit, document-generation, linux, macos

## Member repositories
- JazzCore/python-pdfkit (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:08.837449+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:58:00.702473+00:00, confidence not recorded.
  - readme: https://github.com/JazzCore/python-pdfkit (fetched 2026-08-28T04:06:08.837449+00:00, sha 3ae0dfd3f32d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
