$npx skillfedfor your agent

django-wkhtmltopdf

Converts HTML to PDF using wkhtmltopdf.

SkipPyPI Dynamic ContentReleased Feb 2022174.3K downloads / moBSD-2-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_wkhtmltopdf-3.4.0-py2.py3-none-any.whl
v3.4.0 · released 2022-02-24 · 1 runtime deps: six

No. The package is abandoned with no maintenance since early 2023 and classifiers indicate support only for Python 2.6–3.4, making it incompatible with modern Python and Django versions. If you need HTML-to-PDF in Django, consider actively maintained alternatives instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires the wkhtmltopdf static binary to be installed separately on the system and libfontconfig as a system dependency (e.g., via package manager).
  • Installation is straightforward (low friction), but the package is abandoned as of 2023 with no recent maintenance.
  • The last commit was 2023-01-23 and no updates have been released since 2022-02-24, so security patches and compatibility fixes are unlikely.

License · maintenance · safety

BSD-2-Clause (permissive) — Licensed under BSD-2-Clause (permissive), allowing commercial and private use with minimal restrictions, though you should retain the license notice in distributions.

last release 2022-02-24 (1632 days) · last repo commit 2023-01-23 · 325 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 174,344 downloads/mo, #10,283 on PyPI

Verify before relying

pip install django-wkhtmltopdf

# In settings.py:
INSTALLED_APPS = ['wkhtmltopdf', ...]

# In views.py:
from wkhtmltopdf.views import PDFTemplateView

class MyPDFView(PDFTemplateView):
    template_name = 'my_template.html'
  • Whether the package works reliably with modern Django versions (3.2+, 4.x, 5.x) given the abandoned status and old Python version classifiers.
  • Whether wkhtmltopdf binary compatibility issues have emerged on recent operating systems or architectures.
Same gist for agents: .md · .json

What it is and what it does

django-wkhtmltopdf is a Django app that integrates the wkhtmltopdf command-line tool to render HTML templates directly to PDF files within your Django views. It wraps the external wkhtmltopdf binary and exposes it through Django view classes, allowing you to generate PDF documents from your existing HTML templates with minimal configuration.

The package depends only on six and requires you to install the wkhtmltopdf binary separately on your system along with the libfontconfig library. It has been marked abandoned since early 2023, with the last commit in January 2023 and no releases since February 2022, meaning it will not receive updates for newer Django or Python versions.

Use it for

  • Generate PDF invoices or receipts from Django templates in web applications.
  • Create downloadable PDF reports from database queries rendered as HTML.
  • Export user-facing web pages to PDF format for archival or sharing.
  • Build PDF generation endpoints in Django REST APIs that return PDF files.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is abandoned with no maintenance since early 2023 and classifiers indicate support only for Python 2.6–3.4, making it incompatible with modern Python and Django versions. If you need HTML-to-PDF in Django, consider actively maintained alternatives instead.

Install

django-wkhtmltopdf on PyPI

Before you install

Installation is straightforward (low friction), but the package is abandoned as of 2023 with no recent maintenance. The last commit was 2023-01-23 and no updates have been released since 2022-02-24, so security patches and compatibility fixes are unlikely.

Requires the wkhtmltopdf static binary to be installed separately on the system and libfontconfig as a system dependency (e.g., via package manager).

License in practice

Licensed under BSD-2-Clause (permissive), allowing commercial and private use with minimal restrictions, though you should retain the license notice in distributions.

Quickstart

pip install django-wkhtmltopdf

# In settings.py:
INSTALLED_APPS = ['wkhtmltopdf', ...]

# In views.py:
from wkhtmltopdf.views import PDFTemplateView

class MyPDFView(PDFTemplateView):
    template_name = 'my_template.html'

Verify before relying

  • Whether the package works reliably with modern Django versions (3.2+, 4.x, 5.x) given the abandoned status and old Python version classifiers.
  • Whether wkhtmltopdf binary compatibility issues have emerged on recent operating systems or architectures.

Package facts

LicenseBSD-2-Clause permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
six
MaintenanceAbandoned 1,632 days since the last release
Last repo commit
First released
Downloads174,344 / month, #10,283 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4

Evidence: django_wkhtmltopdf-3.4.0-py2.py3-none-any.whl

Tags

Capabilities
django html to pdfwkhtmltopdf django integrationconvert html pdf djangodjango pdf generationhtml pdf converter django
Topics
pdf-generationabandoned
PyPI keywords
djangowkhtmltopdfpdf

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django html to pdf”

  • django-wkhtmltopdfWraps the wkhtmltopdf binary to convert HTML to PDF within Django…
  • django-weasyprintProvides Django class-based views and response classes for generating…
  • xhtml2pdfConverts HTML and CSS to PDF documents using Python, enabling…

Give your agent the search over MCP, or paste the wish link into any chat.

More Dynamic Content packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
soupsieve Worth it
PyPI · Python Modules · released Aug 2026

Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.

Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.

MITpure Python · 3.10+
428.6Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo
Flask Worth it
PyPI · Application Frameworks · released Feb 2026

Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.

BSD-3-Clausepure Python · 3.9+
211.4Mdownloads / mo
Mako Worth it
PyPI · Dynamic Content · released Aug 2026

Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.

MITpure Python · 3.10+
201.7Mdownloads / mo

See also pdfkit · wkhtmltopdf · imgkit · gotenberg-client · fpdf · weasyprint · sphinxcontrib-svg2pdfconverter · django-ckeditor · sphinx-simplepdf · gh-md-to-html