wkhtmltopdf for Python on Heroku buildpacks.
Clone or download
Pull request Compare This branch is 3 commits ahead, 3 commits behind eillarra:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
.gitignore
LICENSE.rst
README.rst
setup.py

README.rst

wkhtmltopdf-pack

This package installs a wkhtmltopdf binary in a Heroku or cloudControl deployment. Versioning on this package mimics the version number of the included wkhtmltopdf binary.

wkhtmltopdf is an open source (LGPLv3) command line tool to render HTML into PDF using the Qt WebKit rendering engine.

Installation

Install it in the usual way:

pip install wkhtmltopdf-pack

Usage

There are multiple Python wrappers for wkhtmltopdf you can use. If you are using Django in your project, you can use the django-wkhtmltopdf wrapper.

The binary you want to use is named wkhtmltopdf-pack.

Acknowledgements

Binaries are originally generated for the wkhtmltopdf-heroku Ruby Gem. A big thank you to the wkhtmltopdf-heroku contributors!