Metadata-Version: 2.0
Name: py-thumbnailer
Version: 0.2.2
Summary: Documents Thumbnailer library
Home-page: https://github.com/razortheory/py_thumbnailer
Author: Roman Karpovich
Author-email: fpm.th13f@gmail.com
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Environment :: Console
Classifier: Environment :: Plugins
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Requires-Dist: pillow

=====================
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)


