Metadata-Version: 2.1
Name: django-renderpdf
Version: 6.1.1
Summary: Django app to render django templates as PDF files.
Author-email: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
License: ISC
Project-URL: repository, https://git.sr.ht/~whynothugo/django-renderpdf
Project-URL: documentation, https://django-renderpdf.readthedocs.io/
Project-URL: changelog, https://git.sr.ht/~whynothugo/django-renderpdf/tree/main/item/CHANGELOG.rst
Project-URL: issues, https://sr.ht/~whynothugo/django-renderpdf/trackers
Project-URL: funding, https://whynothugo.nl/sponsor/
Keywords: django,weasyprint,pdf
Classifier: Development Status :: 6 - Mature
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.1
Classifier: Framework :: Django :: 5.2
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENCE
Requires-Dist: django>=4.2
Requires-Dist: weasyprint<68,>=63
Provides-Extra: docs
Requires-Dist: sphinx; extra == "docs"
Provides-Extra: lint
Requires-Dist: ruff; extra == "lint"
Requires-Dist: mypy; extra == "lint"
Requires-Dist: django-stubs; extra == "lint"

# django-renderpdf

[Documentation](https://django-renderpdf.readthedocs.io/)
| [Source](https://git.sr.ht/~whynothugo/django-renderpdf)
| [Issues](https://todo.sr.ht/~whynothugo/django-renderpdf)
| [Chat](irc://ircs.libera.chat:6697/#whynothugo)

**django-renderpdf** is a Django app to render django templates as PDF files.

## Introduction

Rendering PDFs for web developers is generally pretty non-trivial, and there's
no common approach to doing this. django-renderpdf attempts to allow reusing all
the known tools and skills when generating a PDF file in a Django app:

- Use Django template files, which are internally rendered as HTML and them PDF
  files.
- Use staticfiles app to include any CSS or image files.
- Simply subclass a `PDFView` class which has an interface very similar to
  Django's own built-in `View` classes.

## Documentation

The full documentation is available at https://django-renderpdf.readthedocs.io/.

## Funding

You can sponsor this project via [Liberapay] or [Ko-Fi]. See my [sponsor] page
for details.

[Liberapay]: https://liberapay.com/WhyNotHugo/
[Ko-Fi]: https://ko-fi.com/whynothugo
[sponsor]: https://whynothugo.nl/sponsor/

## Licence

django-renderpdf is licensed under the ISC licence. See LICENCE for details.
