PDF Preview
Project description
This extension provides preview for PDF.
Features
Given a PDF URL return preview image of first page
Installation
Prerequisite: Following system libraries are required:
Install using pip
$ pip install tc_pdf
Register the extension within Thumbor’s configuration file
COMMUNITY_EXTENSIONS = [ 'tc_pdf', ... ]
Launch thumbor with the Thumbor Community custom application:
$ thumbor -a tc_core.app.App
Usage
tc_pdf handler route requires /pdf/ in URL after all filters but before the resource URL part e.g.
http://<thumbor_server>/unsafe/240x240/smart/pdf/localhost:8000/media/document/test.pdf
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
tc_pdf-0.0.7.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file tc_pdf-0.0.7.tar.gz
.
File metadata
- Download URL: tc_pdf-0.0.7.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c587ccb2ff282150d25c3f5fa4e9e07d3252a9532a9caa950ac9f5161423ac9c |
|
MD5 | a640876c1089be0f72c26e5b1215a70d |
|
BLAKE2b-256 | f0067f9607866b2eba5183f1f583774fbd25559e998d864807c3bdc83dc5e79a |
File details
Details for the file tc_pdf-0.0.7-py2.py3-none-any.whl
.
File metadata
- Download URL: tc_pdf-0.0.7-py2.py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5da6c2401c97b716d6413869c786c664d3f2f081c5c4b9f96f1a7788df051f4a |
|
MD5 | bc20b2aa7051c448c4ae87415a9575f0 |
|
BLAKE2b-256 | e42c61bdff53635b66ce7b756c56124bf597f2598fd300a9659aa296d87f0010 |