{ "info": { "author": "Luca Cappelletti", "author_email": "cappelletti.luca94@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "pygifsicle\n=========================================================================================\n|travis| |sonar_quality| |sonar_maintainability| |codacy| |code_climate_maintainability| |pip| |downloads|\n\nPython package wrapping the `gifsicle library `_ for editing and optimizing gifs.\n\nHow do I install this package?\n----------------------------------------------\nAs usual, just download it using pip:\n\n.. code:: shell\n\n pip install pygifsicle\n\nWhile running the installation, on **MacOS** the setup will automatically install **gifsicle** using `Brew `_.\n\nOn Linux you will need to install **gifsicle** using apt-get as follows:\n\n.. code:: shell\n\n sudo apt-get install gifsicle\n\nTests Coverage\n----------------------------------------------\nSince some software handling coverages sometime get slightly different results, here's three of them:\n\n|coveralls| |sonar_coverage| |code_climate_coverage|\n\nUsage examples\n----------------------------------------------\nThe library is currently pretty plain: it offers a wrapper to gifsicle and a method to optimize gifs, wrapping the options for gifsicle.\n\nOptimizing a gif\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nTo optimize a gif, use the following:\n\n.. code:: python\n\n from pygifsicle import optimize\n optimize(\"path_to_my_gif.gif\")\n\n\nGeneral wrapper\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nTo run gifsicle from Python use the following:\n\n.. code:: python\n\n from pygifsicle import gifsicle\n gifsicle(\n sources=[\"list.gif\", \"of.gif\", \"gifs.gif\"], # or a single_file.gif\n destination=\"destination.gif\" # or just omit it and will use the first source provided.\n optimize=False, # Whetever to add the optimize flag of not\n colors=256, # Number of colors t use\n options=[\"--verbose\"] # Options to use.\n )\n\nLearn more about the general wrapper `by reading the function documentation. `_\n\nHelp and support\n---------------------------------------------------\nWanna add another wrapper for easier usage? `Do a pull request! `_\n\nDid you find an error or weird behavior? `Open an issue! `_\n\n\n.. |travis| image:: https://travis-ci.org/LucaCappelletti94/pygifsicle.png\n :target: https://travis-ci.org/LucaCappelletti94/pygifsicle\n :alt: Travis CI build\n\n.. |sonar_quality| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_pygifsicle&metric=alert_status\n :target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_pygifsicle\n :alt: SonarCloud Quality\n\n.. |sonar_maintainability| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_pygifsicle&metric=sqale_rating\n :target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_pygifsicle\n :alt: SonarCloud Maintainability\n\n.. |sonar_coverage| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_pygifsicle&metric=coverage\n :target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_pygifsicle\n :alt: SonarCloud Coverage\n\n.. |coveralls| image:: https://coveralls.io/repos/github/LucaCappelletti94/pygifsicle/badge.svg?branch=master\n :target: https://coveralls.io/github/LucaCappelletti94/pygifsicle?branch=master\n :alt: Coveralls Coverage\n\n.. |pip| image:: https://badge.fury.io/py/pygifsicle.svg\n :target: https://badge.fury.io/py/pygifsicle\n :alt: Pypi project\n\n.. |downloads| image:: https://pepy.tech/badge/pygifsicle\n :target: https://pepy.tech/badge/pygifsicle\n :alt: Pypi total project downloads \n\n.. |codacy| image:: https://api.codacy.com/project/badge/Grade/a27dcd22ccdb4eb195073d42b5a97945\n :target: https://www.codacy.com/manual/LucaCappelletti94/pygifsicle?utm_source=github.com&utm_medium=referral&utm_content=LucaCappelletti94/pygifsicle&utm_campaign=Badge_Grade\n :alt: Codacy Maintainability\n\n.. |code_climate_maintainability| image:: https://api.codeclimate.com/v1/badges/6a4ca49a061d72eb040c/maintainability\n :target: https://codeclimate.com/github/LucaCappelletti94/pygifsicle/maintainability\n :alt: Maintainability\n\n.. |code_climate_coverage| image:: https://api.codeclimate.com/v1/badges/6a4ca49a061d72eb040c/test_coverage\n :target: https://codeclimate.com/github/LucaCappelletti94/pygifsicle/test_coverage\n :alt: Code Climate Coverate", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/LucaCappelletti94/pygifsicle", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pygifsicle", "package_url": "https://pypi.org/project/pygifsicle/", "platform": "", "project_url": "https://pypi.org/project/pygifsicle/", "project_urls": { "Homepage": "https://github.com/LucaCappelletti94/pygifsicle" }, "release_url": "https://pypi.org/project/pygifsicle/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Python package wrapping the gifsicle library for editing and optimizing gifs.", "version": "1.0.1" }, "last_serial": 5868482, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "eccc01be5445963340b045d58e6c783f", "sha256": "3b9b17fd774c97608bd6bc93b52cac88430ee7d78ad2d6766dce64c3580a1917" }, "downloads": -1, "filename": "pygifsicle-1.0.0.tar.gz", "has_sig": false, "md5_digest": "eccc01be5445963340b045d58e6c783f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4438, "upload_time": "2019-09-22T09:22:02", "url": "https://files.pythonhosted.org/packages/a1/3a/a3c4c341d5f3e97ee3c299289a90fd1ac9268b2976af98e4543b9140b0d3/pygifsicle-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "349f92dcb95b08f5d0f2b05ac247a065", "sha256": "21553132025952f0a41b4605e1de2f4f89d57c8c97357db5fa5cfd85ad8e6c2f" }, "downloads": -1, "filename": "pygifsicle-1.0.1.tar.gz", "has_sig": false, "md5_digest": "349f92dcb95b08f5d0f2b05ac247a065", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4415, "upload_time": "2019-09-22T09:26:08", "url": "https://files.pythonhosted.org/packages/0c/13/1bb7b88fe584182dd0431250f0e2d54316b20c21541bf90b76876d773597/pygifsicle-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "349f92dcb95b08f5d0f2b05ac247a065", "sha256": "21553132025952f0a41b4605e1de2f4f89d57c8c97357db5fa5cfd85ad8e6c2f" }, "downloads": -1, "filename": "pygifsicle-1.0.1.tar.gz", "has_sig": false, "md5_digest": "349f92dcb95b08f5d0f2b05ac247a065", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4415, "upload_time": "2019-09-22T09:26:08", "url": "https://files.pythonhosted.org/packages/0c/13/1bb7b88fe584182dd0431250f0e2d54316b20c21541bf90b76876d773597/pygifsicle-1.0.1.tar.gz" } ] }