Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Plankton - wkhtmltopdf REST service

Project Description

# Plankton - html to pdf REST service

Uses wkhtmltopdf as backend. Only works with python 3.5 or greater.

Enspired by: and

## Installation 1. `pip install plankton` 2. download and install wkhtmltopdf 3. Run server```plankton-server```

If you want to run in docker container:

  1. Clone repo `git clone`
  2. `cd plankton`
  3. Build docker image `docker build -t plankton .`
  4. Run container `docker run -p 9003:8080  plankton`.

You can specify wkhtmltopdf command and port: `plankton-server --wkhtmltopdf_command '/usr/local/bin/wkhtmltopdf' --port 9000`

## Usage


DATA `{"page": ""}`

You can provide wkhtmltopdf options:

DATA `{"page": "", "options": {"javascript-delay": 2000, "cookie": [["key1","val1"], ["key2", "val2"]]}}`

## TODO Project currently under developing and there are lot of things to do:

  1. debug mode
  3. logging
  4. security

Release History

This version
History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(5.2 kB) Copy SHA256 Hash SHA256
Source None Sep 30, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting