Skip to main content

Django app to render django templates as PDF files.

Project description

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/.

Licence

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_renderpdf-6.0.0.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_renderpdf-6.0.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file django_renderpdf-6.0.0.tar.gz.

File metadata

  • Download URL: django_renderpdf-6.0.0.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.12

File hashes

Hashes for django_renderpdf-6.0.0.tar.gz
Algorithm Hash digest
SHA256 6e6ebdf599c739d94ff685b40b818caee001c2bcce4be6df8479dbb61d705cc4
MD5 3a0a356e3d0f2f5f843f6fcd013ece74
BLAKE2b-256 7bd51119f2fc359a3a3ebdcd1259bc8e3505829ff49fc769b868135b77462b5e

See more details on using hashes here.

File details

Details for the file django_renderpdf-6.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_renderpdf-6.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f7d80836533f940befcde724e5a524a23aac4d07c88c9b6d639ddae5b08c206
MD5 d0ba6162bc70cc6639c166442a6ceb19
BLAKE2b-256 931d7ecc8041895ffdcc4ad783b6d766893b0496667baeca3f0b9ede12b8f149

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page