{ "info": { "author": "Michal Filippi", "author_email": "michal.filippi@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# PreviewGen\n\nPreviewGen is a tool for generating previews from photo galleries at source location. Previews are created in target location where the source structure is copied but images are replaced with compressed and resized copy. Basic idea is to provide a preview of a full size gallery with a reasonable size and quality.\n\n## Instalation\n\nPreviewGen is deployed to pypi and can be therefore easily installed using pip.\n\n```sh\n$ pip install previewgen\n```\n\n## Usage\n\nAfter installation preview-gen command should be available from command line.\n\n```sh\n$ preview-gen\nusage: preview-gen [-h] config_file\n```\n\n### Config file\n\n```yaml\n# example config file conf.yaml\n\nscanner:\n source_dir: /Users/mfilippi/pg-test/s\n destination_dir: /Users/mfilippi/pg-test/d\n\npreviewer:\n max_width: 1000\n max_height: 1000\n quality: 80\n\n# optional logger config\nlogger:\n # posible levels can be found at https://docs.python.org/3/library/logging.html#levels\n level: DEBUG\n```\n\nIn the same directory the tool can be executed using `$ preview-gen conf.yaml`.\n\n---\n\n[![Build Status](https://travis-ci.com/michalfilippi/PreviewGen.svg?branch=master)](https://travis-ci.com/michalfilippi/PreviewGen)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/michalfilippi/PreviewGen", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "previewgen", "package_url": "https://pypi.org/project/previewgen/", "platform": "", "project_url": "https://pypi.org/project/previewgen/", "project_urls": { "Homepage": "https://github.com/michalfilippi/PreviewGen" }, "release_url": "https://pypi.org/project/previewgen/1.3/", "requires_dist": null, "requires_python": "", "summary": "", "version": "1.3" }, "last_serial": 5154105, "releases": { "1.2": [ { "comment_text": "", "digests": { "md5": "e4a2f8493bbbb3777afd94cf27052879", "sha256": "924d55f64dea96b4294ef8cb64d63d21772bc5279150ec5039620e1c450f7ee6" }, "downloads": -1, "filename": "previewgen-1.2.tar.gz", "has_sig": false, "md5_digest": "e4a2f8493bbbb3777afd94cf27052879", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3767, "upload_time": "2019-04-16T19:40:08", "url": "https://files.pythonhosted.org/packages/11/48/9aefa7dbe68c459dd2cfaa140034253420ff07545b5821b3a43ec4d64b82/previewgen-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "7018e7d061c71df14da438da087c1b3b", "sha256": "73d179224557c2759c4168ab6dd663ffae1ed77b6857fbbbd7ca9c5e93284f75" }, "downloads": -1, "filename": "previewgen-1.3.tar.gz", "has_sig": false, "md5_digest": "7018e7d061c71df14da438da087c1b3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3846, "upload_time": "2019-04-17T09:05:11", "url": "https://files.pythonhosted.org/packages/58/a6/ca413d2216905763c7af5d97cbaf25f29c52469ca4a90447fb0f1186bf67/previewgen-1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7018e7d061c71df14da438da087c1b3b", "sha256": "73d179224557c2759c4168ab6dd663ffae1ed77b6857fbbbd7ca9c5e93284f75" }, "downloads": -1, "filename": "previewgen-1.3.tar.gz", "has_sig": false, "md5_digest": "7018e7d061c71df14da438da087c1b3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3846, "upload_time": "2019-04-17T09:05:11", "url": "https://files.pythonhosted.org/packages/58/a6/ca413d2216905763c7af5d97cbaf25f29c52469ca4a90447fb0f1186bf67/previewgen-1.3.tar.gz" } ] }