Skip to main content

A django app to render django templates as PDF files.

Project description

Actions Status Codecov coverage report Version on PyPI Python versions Licence

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-4.0.0.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

django_renderpdf-4.0.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file django-renderpdf-4.0.0.tar.gz.

File metadata

  • Download URL: django-renderpdf-4.0.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for django-renderpdf-4.0.0.tar.gz
Algorithm Hash digest
SHA256 0c29381e1b844ac403cf6b8e9dcbeb1b38a59b57d1f08a07c7375be74805cca7
MD5 5e642f38e5ee4321374e42907b90e19d
BLAKE2b-256 e2408e421c44230431addbf7a6a9b480949131868781507b9c48bb319dd8e0f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_renderpdf-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45c41cfbd6b6a76895103edd6c1c7c7b824eabfcf7cc24815b4082175bf3f646
MD5 82985a9b3fb82e8a8532e69e59164162
BLAKE2b-256 beeb256f29426913bd8861b4faef25e29bbc498c647d5bf6d78cdc2e79a47c07

See more details on using hashes here.

Supported by

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