Documents Thumbnailer
Main idea was taken from https://github.com/FelixSchwarz/anythumbnailer. Code rewriten from zero.
A CLI utility/Python library to create thumbnails for different file types (including PDF, mp4 videos and Microsoft Office documents aka docx/xlsx/pptx).
All the heavy-lifting is done by commonly-used tools such as LibreOffice/unoconv, ffmpeg, poppler and ImageMagick so format support is limited by what these tools can process.
Program requirements
Video encoding: ffmpeg Pdf encoding: poppler-utils Office files: unoconv Imagemagic external libraries: http://pillow.readthedocs.org/en/3.2.x/installation.html#external-libraries
Installation
$ pip install py-thumbnailer
Usage
- From command line:
$ py-thumbnailer SOURCEFILE [OUTPUTFILE]
- From python code:
from py_thumbnailer.thumbnail import create_thumbnail output_buffer = create_thumbnail(source_file)
Metadata
Release files for py_thumbnailer 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| py_thumbnailer-0.2.2.tar.gz | 8.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_thumbnailer-0.2.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 15.2 kB
Release files / py_thumbnailer-0.2.2.tar.gz
| Download URL | py_thumbnailer-0.2.2.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb7997dd16fd657e15000d9be508bff5673ec88bd9d227fbd4c078426887cf79
|
|
BLAKE2b-256 checksum How to use checksums |
9c4e5b5f0dd1b2965b4b66a8a1e87152ac2e43bdfa33704c2a1e85254f78971e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / py_thumbnailer-0.2.2-py2.py3-none-any.whl
| Download URL | py_thumbnailer-0.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e6dc01b52e7645e95109f6a3d81e79f60c66c533b25b4cf96ab90aa70377dfb7
|
|
BLAKE2b-256 checksum How to use checksums |
74fcb05da3016e97478c02368cd8e8eab927495818594cbb48033cc04bbad067
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for py_thumbnailer 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.