{ "info": { "author": "Algoo", "author_email": "contact@algoo.fr", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "==================================\nPreview-generator Documentation\n==================================\n\n.. image:: https://travis-ci.org/algoo/preview-generator.svg?branch=master\n :target: https://travis-ci.org/algoo/preview-generator\n\n------------\nPresentation\n------------\n\npreview-generator is a library for generating preview - thumbnails, pdf, text and json overview\nfor all your file-based content. This module gives you access to jpeg, pdf, text, html and json\npreview of virtually any kind of file. It also includes a cache mechanism so you do not have to\ncare about preview storage.\n\nBy creating this module, the goal was to delegate the responsibility of building preview\nof files managed by `tracim `_.\n\n\n----------------------\nSupported file formats\n----------------------\n\nHere is an overview of supported file formats:\n\n+----------------------------------------------------------------------------------+-------------+\n+ MIME type + Extension +\n+==================================================================================+=============+\n| **Images - based on WAND (image magick)** |\n+----------------------------------------------------------------------------------+-------------+\n| application/postscript | .ps |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-jg | .art |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-ms-bmp | .bmp |\n+----------------------------------------------------------------------------------+-------------+\n| text/plain | .ksh |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-canon-cr2 | .cr2 |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-canon-crw | .crw |\n+----------------------------------------------------------------------------------+-------------+\n| application/dicom | .dcm |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-director | .dcr |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-epson-erf | .erf |\n+----------------------------------------------------------------------------------+-------------+\n| image/gif | .gif |\n+----------------------------------------------------------------------------------+-------------+\n| text/x-chdr | .h |\n+----------------------------------------------------------------------------------+-------------+\n| text/html | .htm |\n+----------------------------------------------------------------------------------+-------------+\n| image/vnd.microsoft.icon | .ico |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-info | .info |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-jng | .jng |\n+----------------------------------------------------------------------------------+-------------+\n| image/jp2 | .jp2 |\n+----------------------------------------------------------------------------------+-------------+\n| image/jpeg | .jpeg |\n+----------------------------------------------------------------------------------+-------------+\n| image/jpm | .jpm |\n+----------------------------------------------------------------------------------+-------------+\n| application/json | .json |\n+----------------------------------------------------------------------------------+-------------+\n| chemical/x-mopac-input | .mop |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-nikon-nef | .nef |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-olympus-orf | .orf |\n+----------------------------------------------------------------------------------+-------------+\n| application/font-sfnt | .otf |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-portable-bitmap | .pbm |\n+----------------------------------------------------------------------------------+-------------+\n| image/pcx | .pcx |\n+----------------------------------------------------------------------------------+-------------+\n| chemical/x-pdb | .pdb |\n+----------------------------------------------------------------------------------+-------------+\n| application/pdf | .pdf |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-font | .pfa |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-portable-graymap | .pgm |\n+----------------------------------------------------------------------------------+-------------+\n| image/png | .png |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-portable-anymap | .pnm |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-portable-pixmap | .ppm |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-photoshop | .psd |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-cmu-raster | .ras |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-rgb | .rgb |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-silverlight | .scr |\n+----------------------------------------------------------------------------------+-------------+\n| text/scriptlet | .sct |\n+----------------------------------------------------------------------------------+-------------+\n| image/tiff | .tiff |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.visio | .vsd |\n+----------------------------------------------------------------------------------+-------------+\n| image/vnd.wap.wbmp | .wbmp |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-xbitmap | .xbm |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-xcf | .xcf |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-xpixmap | .xpm |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-xwindowdump | .xwd |\n+----------------------------------------------------------------------------------+-------------+\n| **Bitmap images - based on Pillow** |\n+----------------------------------------------------------------------------------+-------------+\n| image/png | .png |\n+----------------------------------------------------------------------------------+-------------+\n| application/postscript | .ps |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-eps | - |\n+----------------------------------------------------------------------------------+-------------+\n| **Images - based on convert command (Image magick)** |\n+----------------------------------------------------------------------------------+-------------+\n| application/postscript | .ps |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-jg | .art |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-ms-bmp | .bmp |\n+----------------------------------------------------------------------------------+-------------+\n| text/plain | .ksh |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-canon-cr2 | .cr2 |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-canon-crw | .crw |\n+----------------------------------------------------------------------------------+-------------+\n| application/dicom | .dcm |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-director | .dcr |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-epson-erf | .erf |\n+----------------------------------------------------------------------------------+-------------+\n| image/gif | .gif |\n+----------------------------------------------------------------------------------+-------------+\n| text/x-chdr | .h |\n+----------------------------------------------------------------------------------+-------------+\n| text/html | .htm |\n+----------------------------------------------------------------------------------+-------------+\n| image/vnd.microsoft.icon | .ico |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-info | .info |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-jng | .jng |\n+----------------------------------------------------------------------------------+-------------+\n| image/jp2 | .jp2 |\n+----------------------------------------------------------------------------------+-------------+\n| image/jpeg | .jpeg |\n+----------------------------------------------------------------------------------+-------------+\n| image/jpm | .jpm |\n+----------------------------------------------------------------------------------+-------------+\n| application/json | .json |\n+----------------------------------------------------------------------------------+-------------+\n| chemical/x-mopac-input | .mop |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-nikon-nef | .nef |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-olympus-orf | .orf |\n+----------------------------------------------------------------------------------+-------------+\n| application/font-sfnt | .otf |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-portable-bitmap | .pbm |\n+----------------------------------------------------------------------------------+-------------+\n| image/pcx | .pcx |\n+----------------------------------------------------------------------------------+-------------+\n| chemical/x-pdb | .pdb |\n+----------------------------------------------------------------------------------+-------------+\n| application/pdf | .pdf |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-font | .pfa |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-portable-graymap | .pgm |\n+----------------------------------------------------------------------------------+-------------+\n| image/png | .png |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-portable-anymap | .pnm |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-portable-pixmap | .ppm |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-photoshop | .psd |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-cmu-raster | .ras |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-rgb | .rgb |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-silverlight | .scr |\n+----------------------------------------------------------------------------------+-------------+\n| text/scriptlet | .sct |\n+----------------------------------------------------------------------------------+-------------+\n| image/tiff | .tiff |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.visio | .vsd |\n+----------------------------------------------------------------------------------+-------------+\n| image/vnd.wap.wbmp | .wbmp |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-xbitmap | .xbm |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-xcf | .xcf |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-xpixmap | .xpm |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-xwindowdump | .xwd |\n+----------------------------------------------------------------------------------+-------------+\n| **Archive files** |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-compressed | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-zip-compressed | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/zip | .zip |\n+----------------------------------------------------------------------------------+-------------+\n| multipart/x-zip | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-tar | .tar |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-gzip | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-gtar | .gtar |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-tgz | - |\n+----------------------------------------------------------------------------------+-------------+\n| **Vector images - based on Inkscape** |\n+----------------------------------------------------------------------------------+-------------+\n| image/svg+xml | .svg |\n+----------------------------------------------------------------------------------+-------------+\n| **Documents - based on LibreOffice** |\n+----------------------------------------------------------------------------------+-------------+\n| image/wmf | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-hwp | .hwp |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-aportisdoc | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.sun.xml.chart | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.ms-excel.sheet.binary.macroEnabled.12 | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/docbook+xml | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.sun.xml.writer.global | .sxg |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-xpixmap | .xpm |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-gnumeric | .gnumeric |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.apple.pages | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-emf | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.stardivision.calc | .sdc |\n+----------------------------------------------------------------------------------+-------------+\n| text/spreadsheet | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/mathml+xml | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-sgf | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-sony-bbeb | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-portable-graymap | .pgm |\n+----------------------------------------------------------------------------------+-------------+\n| application/wps-office.doc | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-starwriter | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.spreadsheet | .ods |\n+----------------------------------------------------------------------------------+-------------+\n| application/clarisworks | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.sun.xml.impress | .sxi |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-iwork-numbers-sffnumbers | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.ms-powerpoint.slide.macroEnabled.12 | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.text-master | .odm |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.sun.xml.writer.template | .stw |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-iwork-pages-sffpages | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-iwork-keynote-sffkey | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.graphics-flat-xml | .fodg |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.openxmlformats-officedocument.presentationml.slideshow | .ppsx |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-abiword | .abw |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-targa | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/xhtml+xml | .xhtml |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.ms-excel | .xls |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-photo-cd | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.stardivision.draw | .sda |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-portable-bitmap | .pbm |\n+----------------------------------------------------------------------------------+-------------+\n| application/visio.drawing | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.graphics | .odg |\n+----------------------------------------------------------------------------------+-------------+\n| image/vnd.adobe.photoshop | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.sun.xml.calc.template | .stc |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.lotus-1-2-3 | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.sun.xml.writer.web | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.database | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/cgm | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.sun.xml.math | .sxm |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.openxmlformats-officedocument.presentationml.template | .potx |\n+----------------------------------------------------------------------------------+-------------+\n| application/rtf | .rtf |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.apple.keynote | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-wpg | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.ms-excel.template.macroEnabled.12 | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-pagemaker | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.ms-powerpoint | .ppt |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-mspublisher | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.visio | .vsd |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.presentation | .odp |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.sun.xml.writer | .sxw |\n+----------------------------------------------------------------------------------+-------------+\n| application/wps-office.ppt | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.sun.xml.calc | .sxc |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-pict | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.sun.xml.impress.template | .sti |\n+----------------------------------------------------------------------------------+-------------+\n| application/wps-office.pptx | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-sun-raster | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-freehand | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/prs.plucker | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-pocket-word | - |\n+----------------------------------------------------------------------------------+-------------+\n| text/csv | .csv |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.openxmlformats-officedocument.presentationml.presentation | .pptx |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-wmf | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.sun.xml.draw | .sxd |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.presentation-flat-xml | .fodp |\n+----------------------------------------------------------------------------------+-------------+\n| text/html | .htm |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.graphics-template | .otg |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.spreadsheet-flat-xml | .fods |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.corel-draw | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-qpro | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.ms-excel.sheet.macroEnabled.12 | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.visio.xml | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-pcx | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-svm | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.ms-word.template.macroEnabled.12 | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.chart | .odc |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-fictionbook+xml | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/msword | .dot |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.text | .odt |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.ms-works | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/vnd.dxf | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.text-web | .oth |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.openxmlformats-officedocument.wordprocessingml.template | .dotx |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-eps | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.stardivision.writer | .sdw |\n+----------------------------------------------------------------------------------+-------------+\n| text/rtf | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.formula | .odf |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-stardraw | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | .xlsx |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.ms-powerpoint.presentation.macroEnabled.12 | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/wordperfect5.1 | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/emf | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-starcalc | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.text-master-template | .otm |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.text-template | .ott |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.palm | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.base | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/wps-office.docx | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-t602 | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.openxmlformats-officedocument.wordprocessingml.document | .docx |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-xbitmap | .xbm |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.formula-template | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.presentation-template | .otp |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.chart-template | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-met | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/macwriteii | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/x-dbase | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/tiff | .tiff |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.spreadsheet-template | .ots |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.sun.xml.draw.template | .std |\n+----------------------------------------------------------------------------------+-------------+\n| application/wps-office.xls | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.wordperfect | .wpd |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.ms-powerpoint.slideshow.macroEnabled.12 | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.openxmlformats-officedocument.spreadsheetml.template | .xltx |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.openxmlformats-officedocument.presentationml.slide | .sldx |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-portable-pixmap | .ppm |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.visio2013 | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-cmx | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.sun.xml.base | .odb |\n+----------------------------------------------------------------------------------+-------------+\n| application/wps-office.xlsx | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.oasis.opendocument.text-flat-xml | .fodt |\n+----------------------------------------------------------------------------------+-------------+\n| image/x-cmu-raster | .ras |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.apple.numbers | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.ms-powerpoint.template.macroEnabled.12 | - |\n+----------------------------------------------------------------------------------+-------------+\n| image/tif | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.lotus-wordpro | - |\n+----------------------------------------------------------------------------------+-------------+\n| application/vnd.ms-word.document.macroEnabled.12 | - |\n+----------------------------------------------------------------------------------+-------------+\n| **Plain text files** |\n+----------------------------------------------------------------------------------+-------------+\n| text/plain | .ksh |\n+----------------------------------------------------------------------------------+-------------+\n| text/html | .htm |\n+----------------------------------------------------------------------------------+-------------+\n| application/xml | .xsl |\n+----------------------------------------------------------------------------------+-------------+\n| application/javascript | .js |\n+----------------------------------------------------------------------------------+-------------+\n| **PDF documents - based on PyPDF2** |\n+----------------------------------------------------------------------------------+-------------+\n| application/pdf | .pdf |\n+----------------------------------------------------------------------------------+-------------+\n\n------------\nInstallation\n------------\n\nDependencies:\n\n``apt-get install zlib1g-dev libjpeg-dev python3-pythonmagick inkscape xvfb poppler-utils libfile-mimeinfo-perl qpdf``\n\nAt the moment there are issues with the exiftool package on debian, so you'll need to install it manually:\n\n.. code:: console\n\n # Exiftool\n wget https://sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-11.11.tar.gz\n gzip -dc Image-ExifTool-11.11.tar.gz | tar -xf -\n cd Image-ExifTool-11.11\n perl Makefile.PL\n sudo make install\n\nAfter installing dependencies, you can install preview-generator using ``pip``:\n\n``pip install preview-generator``\n\nOptional dependencies:\n\nTo handle previews for office documents you will need ``LibreOffice``, if you don't have it already:\n\n``apt-get install libreoffice``\n\n\n-----\nUsage\n-----\n\nHere are some examples of code\n\nBasic Usage\n-----------\n\nMost basic usage, create a jpeg from a png, default size 256x256\n\n.. code:: python\n\n from preview_generator.manager import PreviewManager\n\n cache_path = '/tmp/preview_cache'\n file_to_preview_path = '/tmp/an_image.png'\n\n manager = PreviewManager(cache_path, create_folder= True)\n path_to_preview_image = manager.get_jpeg_preview(file_to_preview_path)\n\n\nPreview an image with a specific size\n-------------------------------------\n\nYou can choose the size of your image using params width and height.\n\n.. code:: python\n\n from preview_generator.manager import PreviewManager\n\n cache_path = '/tmp/preview_cache'\n file_to_preview_path = '/tmp/an_image.png'\n\n manager = PreviewManager(cache_path, create_folder= True)\n path_to_preview_image = manager.get_jpeg_preview(file_to_preview_path, width=1000, height=500)\n\n\nPreview a pdf or an office document as a jpeg\n---------------------------------------------\n\n.. code:: python\n\n from preview_generator.manager import PreviewManager\n\n cache_path = '/tmp/preview_cache'\n pdf_or_odt_to_preview_path = '/tmp/a_pdf.pdf'\n\n manager = PreviewManager(cache_path, create_folder= True)\n path_to_preview_image = manager.get_jpeg_preview(pdf_or_odt_to_preview_path)\n\nBy default it will generate the preview of the first page of the document.\nUsing params `page`, you can you pick the page you want to preview.\n\n**page number starts at 0, if you want to preview the second page of your document then the argument will be 1 `page=1`**\n\n.. code:: python\n\n from preview_generator.manager import PreviewManager\n\n cache_path = '/tmp/preview_cache'\n pdf_or_odt_to_preview_path = '/tmp/a_pdf.pdf'\n\n manager = PreviewManager(cache_path, create_folder= True)\n path_to_preview_image = manager.get_jpeg_preview(pdf_or_odt_to_preview_path, page=1)\n\n\nGenerate a pdf preview of a libreoffice text document\n-----------------------------------------------------\n\n.. code:: python\n\n from preview_generator.manager import PreviewManager\n manager = PreviewManager('/tmp/cache/', create_folder= True)\n pdf_file_path = manager.get_pdf_preview('/home/user/Documents/report.odt', page=2)\n print('Preview created at path : ', thumbnail_file_path)\n\n\n\nFor Office types into PDF :\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: python\n\n cache_path = '/tmp/previews'\n preview_manager = PreviewManager(cache_path, create_folder= True)\n path_to_preview = preview_manager.get_pdf_preview(file_path,page=page_id)\n\n-> Will create a preview from an office file into a pdf file\n\n*args :*\n\n *file_path : the String of the path where is the file you want to get the preview*\n\n *page : the int of the page you want to get. If not mentioned all the pages will be returned. First page is page 0*\n\n*returns :*\n\n *str: path to the preview file*\n\nFor images(GIF, BMP, PNG, JPEG, PDF) into jpeg :\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: python\n\n cache_path = '/tmp/previews'\n preview_manager = PreviewManager(cache_path, create_folder= True)\n path_to_preview = preview_manager.get_jpeg_preview(file_path,height=1024,width=526)\n\n-> Will create a preview from an image file into a jpeg file of size 1024 * 526\n\n*args :*\n\n *file_path : the String of the path where is the file you want to get the preview*\n\n *height : height of the preview in pixels*\n\n *width : width of the preview in pixels. If not mentioned, width will be the same as height*\n\n*returns :*\n\n *str: path to the preview file*\n\nOther conversions :\n~~~~~~~~~~~~~~~~~~~\n\nThe principle is the same as above\n\n**Zip to text or html :** will build a list of files into texte/html inside the json\n\n**Office to jpeg :** will build the pdf out of the office file and then build the jpeg.\n\n**Text to text :** mainly just a copy stored in the cache\n\n\n---------------\nCache mechanism\n---------------\n\n\nNaming :\n--------\n\nThe name of the preview generated in the cache directory will be :\n\n{file_name}-[{size}-]{file_md5sum}[({page})]{extension}\n file_name = the name of the file you asked for a preview without the extension.\n\n size = the size you asked for the preview. In case of a Jpeg preview.\n\n file_md5sum = the md5sum of the entire path of the file. To avoid conflicts like files that have the same name but are in different directory.\n\n page = the page asked in case of pdf or office document preview.\n\n extensions = the extension of the preview (.jpeg for a jpeg, .txt for a text, etc)\n\n\nExample :\n---------\n\nThese scripts :\n\nGIF to JPEG :\n~~~~~~~~~~~~~\n\n\n.. code:: python\n\n import os\n from preview_generator.manager import PreviewManager\n current_dir = os.path.dirname(os.path.abspath(__file__)) +'/'\n\n manager = PreviewManager(path=current_dir + 'cache')\n path_to_preview = manager.get_jpeg_preview(\n file_path=current_dir + 'the_gif.gif',\n height=512,\n width=512,\n )\n\n print('Preview created at path : ', path_to_preview)\n\nwill print\n\n Preview created at path : the_gif-512x512-60dc9ef46936cc4fff2fe60bb07d4260.jpeg\n\nODT to JPEG :\n~~~~~~~~~~~~~\n\n.. code:: python\n\n import os\n from preview_generator.manager import PreviewManager\n current_dir = os.path.dirname(os.path.abspath(__file__)) +'/'\n\n manager = PreviewManager(path=current_dir + 'cache')\n path_to_file = manager.get_jpeg_preview(\n file_path=current_dir + 'the_odt.odt',\n page=1,\n height=1024,\n width=1024,\n )\n\n print('Preview created at path : ', path_to_preview)\n\nwill print\n\n Preview created at path : the_odt-1024x1024-c8b37debbc45fa96466e5e1382f6bd2e-page1.jpeg\n\nZIP to Text :\n~~~~~~~~~~~~~\n.. code:: python\n\n import os\n from preview_generator.manager import PreviewManager\n current_dir = os.path.dirname(os.path.abspath(__file__)) +'/'\n\n manager = PreviewManager(path=current_dir + 'cache')\n path_to_file = manager.get_text_preview(\n file_path=current_dir + 'the_zip.zip',\n )\n\n print('Preview created at path : ', path_to_file)\n\nwill print\n\n Preview created at path : the_zip-a733739af8006558720be26c4dc5569a.txt\n\n\n--------------------\nAdding new feature :\n--------------------\n\nBefore all, I'd be glad if you could share your new feature with everybody. So if you want to, you can fork it on github ( https://github.com/algoo/preview-generator) (see `Developer\u2019s Kit`_) and submit new features.\n\nIf you want to add a new preview builder to handle documents of type **foo** into **jpeg** (for example) here is how to proceed :\n\n - **Warning** If you need to look at other builders to find out how to proceed, avoid looking at any of the Office to something. It is a particular case and could misslead you.\n - Create a new class FooPreviewBuilder in a file foo_preview.py in preview_generator/preview\n - Make him inherit from the logical PreviewBuilder class\n\n * if it handles several pages it will be `class FooPreviewBuilder(PreviewBuilder)`\n * for single page it will be `class FooPreviewBuilder(OnePagePreviewBuilder)`\n * ...\n - define your own `build_jpeg_preview(...)` (in the case we want to make **foo** into **jpeg**) based on the same principle as other build_{type}_preview(...)\n - Inside this build_jpeg_preview(...) you will call a method file_converter.foo_to_jpeg(...)\n - Define your foo_to_jpeg(...) method in preview_generator.preview.file_converter.py\n\n * inputs must be a stream of bytes and optional informations like a number of pages, a size, ...\n * output must also be a stream of bytes\n - Maybe you'll need to redefine some methods like `get_page_number()` or `exists_preview()` in your FooPreviewBuilder class\n\n\n---------------\nDeveloper\u2019s Kit\n---------------\n\n\nInstallation (dev) :\n--------------------\n\n\nFrom scratch on a terminal :\n - create your project directory (we will name it \"the_project\" but you can name it the way you want) : `mkdir the_project`\n - `cd the_project`\n - `git clone https://github.com/algoo/preview-generator`\n - building your environment :\n * install python virtualenv builder : `sudo apt install python3-venv`\n * build your virtual env (env will be called \"myenv\", you can name it the way you want): `python3 -m venv myenv`\n * if it's not already, activate it : `source myenv/bin/activate`. (`deactivate` to deactivate)\n - install dependencies :\n\n * Exiftool - Follow instruction on the main website: https://sno.phy.queensu.ca/~phil/exiftool/\n * `apt-get install zlib1g-dev`\n * `apt-get install libjpeg-dev`\n * `apt-get install python3-pythonmagick`\n * `apt-get install inkscape`\n * `apt-get install xvfb`\n * `apt-get install poppler-utils`\n * `apt-get install qpdf`\n * `apt-get install libfile-mimeinfo-perl`\n * `pip install wand`\n * `pip install Pillow`\n * `pip install PyPDF2`\n * `pip install python-magic`\n * `pip install pyexifinfo`\n * `pip install packaging`\n * `pip install xvfbwrapper`\n * `pip install pdf2image`\n * `pip install pathlib`\n * if you use python 3.5 or less `pip install typing`\n\n\n.. code:: console\n\n # general dependencies\n apt-get install zlib1g-dev libjpeg-dev python3-pythonmagick inkscape xvfb poppler-utils qpdf libfile-mimeinfo-perl\n pip install wand Pillow PyPDF2 python-magic pyexifinfo packaging xvfbwrapper pdf2image pathlib\n # Exiftool\n wget https://sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-11.11.tar.gz\n gzip -dc Image-ExifTool-11.11.tar.gz | tar -xf -\n cd Image-ExifTool-11.11\n perl Makefile.PL\n sudo make install\n\nIf you need to preview scribus `.sla` files you will need scribus >= 1.5.\nIf it's not available in your distribution you can use an AppImage.\n\nDownload the last AppImage from the official website https://www.scribus.net/downloads/unstable-branch/\n\n.. code:: console\n\n mv /path/to/image/scribus-x.y.appimage /usr/local/bin/scribus\n chmod +x /usr/local/bin/scribus\n\nCode Convention :\n-----------------\n\nWhen using subclass of generic abstract class, convention is to prefix it with name\nof the generic abstract class. For example:\n\n ImagePreviewBuilderIMConvert(ImagePreviewBuilder)\n\nRunning Tests :\n----------------\n Pytest is a motor for unit testing\n\n* `pip install -e [testing]`\n* go into the \"tests\" directory : `cd path/to/you/project/directory/tests`\n* run `pytest`\n\n\nOthers checks :\n-------------------\n\nRun mypy checks:\n\n mypy --ignore-missing-imports --disallow-untyped-defs .\n\nCode formatting using black:\n\n black -l 100 preview_generator setup.py build_supported_mimetypes_table_rst.py tests\n\nSorting of import:\n\n `isort tests/**/*.py preview_generator/**/*.py setup.py build_supported_mimetypes_table_rst.py`\n\nFlake8 check(unused import, variable and many other checks):\n\n flake8 preview_generator setup.py build_supported_mimetypes_table_rst.py tests\n\n\nContribute :\n----------------\ninstall preview_generator with dev dependencies (contains tests dependencies)\n\n pip install -e '.[dev]\n\ninstall pre-commit hooks:\n\n pre-commit install\n\nLaunch test :\n\n pytest\n\nYou now can commit and see if pre-commit is ok with your change.\n\n\n------------\nLicense\n------------\n\nMIT licensed. https://opensource.org/licenses/MIT", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/algoo/preview-generator/archive/release_0.11.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/algoo/preview-generator", "keywords": "preview,preview_generator,thumbnail,cache", "license": "", "maintainer": "", "maintainer_email": "", "name": "preview-generator", "package_url": "https://pypi.org/project/preview-generator/", "platform": "", "project_url": "https://pypi.org/project/preview-generator/", "project_urls": { "Download": "https://github.com/algoo/preview-generator/archive/release_0.11.tar.gz", "Homepage": "https://github.com/algoo/preview-generator" }, "release_url": "https://pypi.org/project/preview-generator/0.11/", "requires_dist": null, "requires_python": ">= 3.5", "summary": "A library for generating preview (thumbnails, text or json overview) for file-based content", "version": "0.11" }, "last_serial": 5457393, "releases": { "0.1.21": [], "0.1.22": [ { "comment_text": "", "digests": { "md5": "2f998b3c72099747e9c90561bd44dd11", "sha256": "6f8d3d31880f982b16ef08b2a859ea4d89fbc40925c9d2ce8917a2167a45d90e" }, "downloads": -1, "filename": "preview-generator-0.1.22.tar.gz", "has_sig": false, "md5_digest": "2f998b3c72099747e9c90561bd44dd11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11130, "upload_time": "2017-05-22T09:43:29", "url": "https://files.pythonhosted.org/packages/40/98/70a0f4ae41246ce2ce95253d9181607352e7ea4f62dda1c9840e84908f97/preview-generator-0.1.22.tar.gz" } ], "0.1.24": [ { "comment_text": "", "digests": { "md5": "fbc7a03ee05a9f368031aeda88eeba68", "sha256": "74382d45b2b999242402523e5a33b65ddcee01719e63d28fb30deb4dbc9cf723" }, "downloads": -1, "filename": "preview-generator-0.1.24.tar.gz", "has_sig": false, "md5_digest": "fbc7a03ee05a9f368031aeda88eeba68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11287, "upload_time": "2017-05-23T11:51:15", "url": "https://files.pythonhosted.org/packages/bd/61/0bc5c6a5dcdd857ff0221c281055ed5a6133db3cc29240185ce1f6d237b4/preview-generator-0.1.24.tar.gz" } ], "0.1.25": [ { "comment_text": "", "digests": { "md5": "760b5b2e2e44d74c2efc28e2b3069b5c", "sha256": "733b73609df0660e5fd9a8cea099e8c1d80f037164670a2de8fb251616fb4867" }, "downloads": -1, "filename": "preview-generator-0.1.25.tar.gz", "has_sig": false, "md5_digest": "760b5b2e2e44d74c2efc28e2b3069b5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11406, "upload_time": "2017-05-23T12:52:11", "url": "https://files.pythonhosted.org/packages/e5/a7/52fd4dd17e8eade46514ccc011616ab79583472471b0e592a0d2773a9845/preview-generator-0.1.25.tar.gz" } ], "0.1.26": [ { "comment_text": "", "digests": { "md5": "f92fccb2f2ca533e51a75f241d3e74d2", "sha256": "b4cb6f26347970bfd8ce27a0c85302f50df5f700d71877dbafb4d2b854fa6dfa" }, "downloads": -1, "filename": "preview-generator-0.1.26.tar.gz", "has_sig": false, "md5_digest": "f92fccb2f2ca533e51a75f241d3e74d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11412, "upload_time": "2017-05-23T13:06:26", "url": "https://files.pythonhosted.org/packages/52/26/62a5d2d6625515e29d488f7d47770135d96280003f55b4c95406db8933ad/preview-generator-0.1.26.tar.gz" } ], "0.1.27": [ { "comment_text": "", "digests": { "md5": "9661866b754c1b10d249ffc1333aefeb", "sha256": "79df71c12bc61d3c97a57014da35374dc262b5416b04771200c8f853868ff633" }, "downloads": -1, "filename": "preview-generator-0.1.27.tar.gz", "has_sig": false, "md5_digest": "9661866b754c1b10d249ffc1333aefeb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13878, "upload_time": "2017-05-23T14:42:40", "url": "https://files.pythonhosted.org/packages/41/94/eaee50b8108045cc3a39c7604b9c3f70bfb01f0182b613cde0e42a8273e9/preview-generator-0.1.27.tar.gz" } ], "0.1.28": [ { "comment_text": "", "digests": { "md5": "a354046b329168d495be3083e118c610", "sha256": "552896363ee6234d67f37a9ef87f8ec1b21f5aa2007ee05f891e3137ca407657" }, "downloads": -1, "filename": "preview-generator-0.1.28.tar.gz", "has_sig": false, "md5_digest": "a354046b329168d495be3083e118c610", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13888, "upload_time": "2017-05-23T15:26:55", "url": "https://files.pythonhosted.org/packages/d8/a0/ae61968d1a4b235a6e27ae6f3db575344c0541b866bed247b9dda2cd4ade/preview-generator-0.1.28.tar.gz" } ], "0.1.29": [ { "comment_text": "", "digests": { "md5": "341f6085b9a10926600ddc96f9343aeb", "sha256": "5a84d1ffa0df8b3e12c6c56332a0f50417e4a55bb56563265200859a2f1c98ed" }, "downloads": -1, "filename": "preview-generator-0.1.29.tar.gz", "has_sig": false, "md5_digest": "341f6085b9a10926600ddc96f9343aeb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13882, "upload_time": "2017-05-23T15:45:57", "url": "https://files.pythonhosted.org/packages/04/27/7433fa7cfafc373bae42175e23d41cd2b245e0cad4e52bafce77c1c56562/preview-generator-0.1.29.tar.gz" } ], "0.1.30": [ { "comment_text": "", "digests": { "md5": "e5fc6ee6d8d9ddda82825da21612aa0b", "sha256": "2350d95d76da01994663f66b72c0c4c21a3f6a7e26cc57e7d7466c6fda352a54" }, "downloads": -1, "filename": "preview-generator-0.1.30.tar.gz", "has_sig": false, "md5_digest": "e5fc6ee6d8d9ddda82825da21612aa0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14595, "upload_time": "2017-05-26T09:56:03", "url": "https://files.pythonhosted.org/packages/5c/0b/77baef8385da87d35514a6f60ed7aca655561e6be5d371c7b5829ac8f4ee/preview-generator-0.1.30.tar.gz" } ], "0.1.31": [ { "comment_text": "", "digests": { "md5": "a6af7bc53e455c868f99d4c896f396f8", "sha256": "5b6d1543b0ca9c6b5c284f897a73e9d6b712288a2374a0e30c53cd1faaa77ecd" }, "downloads": -1, "filename": "preview-generator-0.1.31.tar.gz", "has_sig": false, "md5_digest": "a6af7bc53e455c868f99d4c896f396f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14824, "upload_time": "2017-05-26T12:15:19", "url": "https://files.pythonhosted.org/packages/2f/63/a10b8b26aa346014b03dcd4e1e5ac8b1ade4bf41a77dd1f18badb1282957/preview-generator-0.1.31.tar.gz" } ], "0.1.32": [ { "comment_text": "", "digests": { "md5": "a2f0144d630866a5846b10af89957b93", "sha256": "48421240bad6c361bc5538f068d6fe02d9cce6e5f2d28d9a9141f21e324a62de" }, "downloads": -1, "filename": "preview-generator-0.1.32.tar.gz", "has_sig": false, "md5_digest": "a2f0144d630866a5846b10af89957b93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12141, "upload_time": "2017-05-26T12:26:11", "url": "https://files.pythonhosted.org/packages/48/70/81b88a319bab8075e676796b769ee2f301ebe62090b2e435b7351e70adce/preview-generator-0.1.32.tar.gz" } ], "0.1.33": [ { "comment_text": "", "digests": { "md5": "f38a9fed8b52c9a5642dd6f1a145e519", "sha256": "ec403e54b489e94e6e915e5e4ff293870288a10863ed7a0a36965ba919f8c6f2" }, "downloads": -1, "filename": "preview_generator-0.1.33.tar.gz", "has_sig": false, "md5_digest": "f38a9fed8b52c9a5642dd6f1a145e519", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14835, "upload_time": "2017-05-26T12:34:07", "url": "https://files.pythonhosted.org/packages/9c/27/24b8681be5471f67f01a0837c32f67c73b51b5f779ccf58c77245326de64/preview_generator-0.1.33.tar.gz" } ], "0.1.34": [ { "comment_text": "", "digests": { "md5": "ed9dee300a760d28bc2882dcebe26324", "sha256": "437b118cd307809b5ea038b08db1ef783b141598688b35ae9ac32bc1dae5229c" }, "downloads": -1, "filename": "preview_generator-0.1.34.tar.gz", "has_sig": false, "md5_digest": "ed9dee300a760d28bc2882dcebe26324", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14822, "upload_time": "2017-05-29T08:13:06", "url": "https://files.pythonhosted.org/packages/5c/e6/3d30ae5d2e693e190aba2f6dd7016c03e54c41aff0c4261cdd8b831300fd/preview_generator-0.1.34.tar.gz" } ], "0.1.35": [ { "comment_text": "", "digests": { "md5": "d96e48566f23eaf30abea7d6796639a3", "sha256": "295b59364be9ec54112ccda656bb57ab1f5a94c55bc225020fdfabded5d1a39e" }, "downloads": -1, "filename": "preview_generator-0.1.35.tar.gz", "has_sig": false, "md5_digest": "d96e48566f23eaf30abea7d6796639a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14786, "upload_time": "2017-05-29T09:06:02", "url": "https://files.pythonhosted.org/packages/39/2a/70b3c60bc6138ab09224df1ee787de4638faae3a0168e3f20907467d988a/preview_generator-0.1.35.tar.gz" } ], "0.1.36": [ { "comment_text": "", "digests": { "md5": "25aa70c39a3d1340af0f8f79eaae127c", "sha256": "d012d367073e3db17f9799ebcd5f308cc239485420abc315dd96da829e8e59ac" }, "downloads": -1, "filename": "preview_generator-0.1.36.tar.gz", "has_sig": false, "md5_digest": "25aa70c39a3d1340af0f8f79eaae127c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14824, "upload_time": "2017-06-02T08:49:25", "url": "https://files.pythonhosted.org/packages/8d/0e/999baa4f64f233705319e2dedd968a548b40d1a3901b3e13a5f2c03db6c6/preview_generator-0.1.36.tar.gz" } ], "0.1.37": [ { "comment_text": "", "digests": { "md5": "b58dd1ba7aa805179670b7d6b22237d9", "sha256": "4c8bc85dd9ea8851c849bccd9742fb668aa4c9f2c2840e33e3072ec1cdb2cc54" }, "downloads": -1, "filename": "preview_generator-0.1.37.tar.gz", "has_sig": false, "md5_digest": "b58dd1ba7aa805179670b7d6b22237d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14826, "upload_time": "2017-06-02T09:10:45", "url": "https://files.pythonhosted.org/packages/2a/60/f8f51d90517745566199694345b3cd8f00047c2c5f4c87c7eecb48e2e033/preview_generator-0.1.37.tar.gz" } ], "0.1.38": [ { "comment_text": "", "digests": { "md5": "e7b40b79100052721a21c63ab35f5f88", "sha256": "fcf3443077a35dadb83cfbd6718f62c4e3b74d3069aac79692139d4a9bc5e952" }, "downloads": -1, "filename": "preview_generator-0.1.38.tar.gz", "has_sig": false, "md5_digest": "e7b40b79100052721a21c63ab35f5f88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14959, "upload_time": "2017-06-06T09:29:50", "url": "https://files.pythonhosted.org/packages/99/24/5f3bfcc019da0b46c84a97c9d891cdc22158028a33c65cfe14bb62ddb0d4/preview_generator-0.1.38.tar.gz" } ], "0.1.39": [ { "comment_text": "", "digests": { "md5": "2cc7130be5f880588f5c625247b1760f", "sha256": "201bbb6507518ad8a7afa53a56d3487d3360bcd6b067f9c5acf51cc12260d703" }, "downloads": -1, "filename": "preview_generator-0.1.39.tar.gz", "has_sig": false, "md5_digest": "2cc7130be5f880588f5c625247b1760f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14960, "upload_time": "2017-06-06T09:39:31", "url": "https://files.pythonhosted.org/packages/0f/63/73ac21ff2f2cc32aa6afa53aada0f01baa8f10163bcd4a56eba1969994a1/preview_generator-0.1.39.tar.gz" } ], "0.1.40": [ { "comment_text": "", "digests": { "md5": "c81ce342b1465ee2b202b74a73bd9ed9", "sha256": "a97292883dd95246d65ca76b77956aaf9176f0599316a265e7289512587d516b" }, "downloads": -1, "filename": "preview_generator-0.1.40.tar.gz", "has_sig": false, "md5_digest": "c81ce342b1465ee2b202b74a73bd9ed9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14994, "upload_time": "2017-06-06T10:36:51", "url": "https://files.pythonhosted.org/packages/07/93/b0597d50d3eea9763faafedc37b2848cf81d980b643a7be045165bbc5cda/preview_generator-0.1.40.tar.gz" } ], "0.1.41": [ { "comment_text": "", "digests": { "md5": "650530ddf9d8ffa18505d04032399084", "sha256": "007b1be0787fd64dd4cc2bd5cc203d0fe64847dd8034f42f08d165911d085df7" }, "downloads": -1, "filename": "preview_generator-0.1.41.tar.gz", "has_sig": false, "md5_digest": "650530ddf9d8ffa18505d04032399084", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14805, "upload_time": "2017-06-12T16:03:21", "url": "https://files.pythonhosted.org/packages/ea/d2/878a159bd5c70dc6cee52cff970605439471712d34c87627f1a0c8828512/preview_generator-0.1.41.tar.gz" } ], "0.1.42": [ { "comment_text": "", "digests": { "md5": "d42e70bad7cf1518189f6a9f6e0f1080", "sha256": "ac6c30914bc650a595958c7af07a05a0f56fc5a199970e48c7d44e72c54e58ba" }, "downloads": -1, "filename": "preview_generator-0.1.42.tar.gz", "has_sig": false, "md5_digest": "d42e70bad7cf1518189f6a9f6e0f1080", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14792, "upload_time": "2017-06-12T16:18:03", "url": "https://files.pythonhosted.org/packages/0b/b5/a472fc64ffd268db30e5f951fc3743b30a91b1209c6d44e55e949b4dc6c3/preview_generator-0.1.42.tar.gz" } ], "0.1.43": [ { "comment_text": "", "digests": { "md5": "58cd1e53ed20252762e0d7f5c9921e57", "sha256": "57d8f1ae316ed073d15d4d34734ffa715f5f32e30f1581eabee2aed9f520f752" }, "downloads": -1, "filename": "preview_generator-0.1.43.tar.gz", "has_sig": false, "md5_digest": "58cd1e53ed20252762e0d7f5c9921e57", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14808, "upload_time": "2017-06-13T08:59:53", "url": "https://files.pythonhosted.org/packages/03/c2/3f57b826805d498c94f40a7e6922aa3dfc6d6063bc6704b49a5ce022f2ea/preview_generator-0.1.43.tar.gz" } ], "0.1.44": [ { "comment_text": "", "digests": { "md5": "a38cb13fa389521eb9f6cf0b55e51425", "sha256": "70150c9d7641e3cc333bdddc72f1e3ab56ac9f161d175c1b0d737505e28a0c13" }, "downloads": -1, "filename": "preview_generator-0.1.44.tar.gz", "has_sig": false, "md5_digest": "a38cb13fa389521eb9f6cf0b55e51425", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14762, "upload_time": "2017-06-13T10:01:50", "url": "https://files.pythonhosted.org/packages/a5/f5/a8b9fc80d6c2663f9f3399d44c83c3e6b488bf5e135e49b51b9a2aa0ad8b/preview_generator-0.1.44.tar.gz" } ], "0.1.45": [ { "comment_text": "", "digests": { "md5": "6ac069e485b6cee0e225c78641af1f9b", "sha256": "e03dc4eb121279f954215094197f92aeff4b7f442b6c01462a1ad5494de4676c" }, "downloads": -1, "filename": "preview_generator-0.1.45.tar.gz", "has_sig": false, "md5_digest": "6ac069e485b6cee0e225c78641af1f9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14669, "upload_time": "2017-06-14T08:14:27", "url": "https://files.pythonhosted.org/packages/aa/1e/de08f576c20f6002c11343466d7d004ced200aef1b54ea68f5a19d4d6a31/preview_generator-0.1.45.tar.gz" } ], "0.10": [ { "comment_text": "", "digests": { "md5": "124003ad85f478178dad6856be08c042", "sha256": "dbb465dd558ba6965a06e5edc5aa7821d20bee201712ce5dff9358ef65b89ed9" }, "downloads": -1, "filename": "preview_generator-0.10.tar.gz", "has_sig": false, "md5_digest": "124003ad85f478178dad6856be08c042", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.4", "size": 51890, "upload_time": "2019-03-13T08:14:44", "url": "https://files.pythonhosted.org/packages/98/c2/065e14a355a4175cd86c6c7fd6fa0eb8fb63f781fe078150fd7be36dd828/preview_generator-0.10.tar.gz" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "aec96f04abed8630c409a9f701916331", "sha256": "dcbf5c81a64f30695702b95713d6ab2ab10311c1d25e9072f0919d76f02ba830" }, "downloads": -1, "filename": "preview_generator-0.11.tar.gz", "has_sig": false, "md5_digest": "aec96f04abed8630c409a9f701916331", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.5", "size": 54175, "upload_time": "2019-06-27T15:10:44", "url": "https://files.pythonhosted.org/packages/95/f0/63b145401ee37ff461f47c34cce8f92c749be57caced8a607645764bba7b/preview_generator-0.11.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "be51f30bcc06b963b16e3299ee316972", "sha256": "9bf4aff0b48fd5cdfc22c1f3b921e7e127cd1c091b4cc337683b74508b798c98" }, "downloads": -1, "filename": "preview_generator-0.2.1.tar.gz", "has_sig": false, "md5_digest": "be51f30bcc06b963b16e3299ee316972", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14813, "upload_time": "2017-06-16T14:27:31", "url": "https://files.pythonhosted.org/packages/26/25/63a62f0fe22c61119904787e969736477ef9fa14d43a7c895b79a33b47ec/preview_generator-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "b54241aaa466905354a5196aa933d29f", "sha256": "c5539de43584acaaffe90cad60b1860c55c0020ca3dd18b3cf2efed5e276670b" }, "downloads": -1, "filename": "preview_generator-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b54241aaa466905354a5196aa933d29f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3.4", "size": 40147, "upload_time": "2017-11-08T15:36:48", "url": "https://files.pythonhosted.org/packages/ca/f3/89881d63b2b13e557e01ca5425833a076ad71a40079c31640633e13f3562/preview_generator-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6731436e30359dc30dbcd30d9d38797f", "sha256": "92bbca703355fb6882a6c12ce582f31561d6214f3075acc6d1885a62d3e3f036" }, "downloads": -1, "filename": "preview_generator-0.2.2.tar.gz", "has_sig": false, "md5_digest": "6731436e30359dc30dbcd30d9d38797f", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.4", "size": 23467, "upload_time": "2017-11-08T15:29:33", "url": "https://files.pythonhosted.org/packages/2b/e1/007d665684274d48f2901211cf5b5b5b1747490fbc45a29f5089ad9d9c9e/preview_generator-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "626e45bd737101d23cec9803ef21a715", "sha256": "3202580f223ddd9c804223cefe146ad4f3c1498bbbf29ac12029a17408a79c40" }, "downloads": -1, "filename": "preview_generator-0.2.3.tar.gz", "has_sig": false, "md5_digest": "626e45bd737101d23cec9803ef21a715", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23709, "upload_time": "2018-02-21T00:05:39", "url": "https://files.pythonhosted.org/packages/46/ec/0c44acd0ed766cab9171dfa4a60345c7e098618d37b01c05b8ec4faf4c6c/preview_generator-0.2.3.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "a36397ab4d9a90ce57f4743ef8530c07", "sha256": "1fa1bf5819641f5d2e662d39b591b8881c2bdd3d630cd7f06e534b3c47194d3f" }, "downloads": -1, "filename": "preview_generator-0.3.tar.gz", "has_sig": false, "md5_digest": "a36397ab4d9a90ce57f4743ef8530c07", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.4", "size": 48822, "upload_time": "2018-10-12T08:41:34", "url": "https://files.pythonhosted.org/packages/3a/4a/ccc906104da2103233b5a497edc1353016a718ba236709f9e17e7cf2ae13/preview_generator-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "95d55a54a49b768909cc6c17f50a683e", "sha256": "3970368bb96785a4f1de2e0139e921a8624624c2733d0891a645eb95afac6376" }, "downloads": -1, "filename": "preview_generator-0.4.tar.gz", "has_sig": false, "md5_digest": "95d55a54a49b768909cc6c17f50a683e", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.4", "size": 49118, "upload_time": "2018-10-12T15:53:50", "url": "https://files.pythonhosted.org/packages/ad/09/d03377fc72e85726b8017ef22fb98c78a288652858c395c5dfe8fd4c7240/preview_generator-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "75e67e8a09a2dad80617cb04418bb21b", "sha256": "e2ed53fc8b5fbb0f7cce8bb22adf9be4d5155d427670d6501f3ac58d63272d31" }, "downloads": -1, "filename": "preview_generator-0.5.tar.gz", "has_sig": false, "md5_digest": "75e67e8a09a2dad80617cb04418bb21b", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.4", "size": 49079, "upload_time": "2018-10-16T11:37:10", "url": "https://files.pythonhosted.org/packages/67/0d/28425342e5f519a734c020970ca18abba167f261d471aa692334b8a7868b/preview_generator-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "78915ebf6398f9ca2eaadd2f29252ef0", "sha256": "23514492e3f948bc270e47ed8bb50c49a176b289d51194f15dda51034092b0a5" }, "downloads": -1, "filename": "preview_generator-0.6.tar.gz", "has_sig": false, "md5_digest": "78915ebf6398f9ca2eaadd2f29252ef0", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.4", "size": 49241, "upload_time": "2018-10-18T12:44:50", "url": "https://files.pythonhosted.org/packages/2c/da/b8dde3a72f5809db26b2c27cdc1bd9be5c41d363ce6a3861d7f171f36dbb/preview_generator-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "f0f43e6d5a452909a38e68157b16d55b", "sha256": "3289580e2d5f5768115ed1132d9181cbf666009193f6fa0459065eb69e50f2ae" }, "downloads": -1, "filename": "preview_generator-0.7.tar.gz", "has_sig": false, "md5_digest": "f0f43e6d5a452909a38e68157b16d55b", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.4", "size": 49980, "upload_time": "2018-11-06T15:51:05", "url": "https://files.pythonhosted.org/packages/0f/dc/09fb94ac5dac363d4cd78d16512ef8e9257e5130d65002a0e67356a56112/preview_generator-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "b79f5773eac5407cb0aa07d70f31d6fa", "sha256": "66d2009976ab3b15c30cbb42d0f00585cbcd35b25df98146c6caff779686002a" }, "downloads": -1, "filename": "preview_generator-0.8.tar.gz", "has_sig": false, "md5_digest": "b79f5773eac5407cb0aa07d70f31d6fa", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.4", "size": 50545, "upload_time": "2018-11-09T08:18:55", "url": "https://files.pythonhosted.org/packages/55/7b/36a6765f0899105bcd42fb5bee9387c7857d0e8bbfeae8dae9a4d5050ef8/preview_generator-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "3c73da80ff36beec26d5a0be66e19e0a", "sha256": "bb797f7bf11cf52954f4778dcbdc9ff5472612fb4c39294cd8d76f5f7c4e190f" }, "downloads": -1, "filename": "preview_generator-0.9.tar.gz", "has_sig": false, "md5_digest": "3c73da80ff36beec26d5a0be66e19e0a", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.4", "size": 50705, "upload_time": "2018-11-13T09:37:41", "url": "https://files.pythonhosted.org/packages/ce/17/9eeb6bc3a7cc1dc8ba7db35a2038c61bef49336ec21057258801e9aef2a5/preview_generator-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aec96f04abed8630c409a9f701916331", "sha256": "dcbf5c81a64f30695702b95713d6ab2ab10311c1d25e9072f0919d76f02ba830" }, "downloads": -1, "filename": "preview_generator-0.11.tar.gz", "has_sig": false, "md5_digest": "aec96f04abed8630c409a9f701916331", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.5", "size": 54175, "upload_time": "2019-06-27T15:10:44", "url": "https://files.pythonhosted.org/packages/95/f0/63b145401ee37ff461f47c34cce8f92c749be57caced8a607645764bba7b/preview_generator-0.11.tar.gz" } ] }