{ "info": { "author": "Jean-Fr\u00e9d\u00e9ric", "author_email": "JeanFred@github", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "CommonsDownloader\r\n=================\r\n\r\n|Build Status| |Coverage Status| |Code Health| |Documentation Status|\r\n|Pypi| |License|\r\n\r\nTool to download thumbnails of files from Wikimedia Commons\r\n\r\nUsage\r\n-----\r\n\r\nThis tool can be used either by passing the filenames, a category or by\r\nusing a file list.\r\n\r\nUsing filenames\r\n~~~~~~~~~~~~~~~\r\n\r\nJust list the files we want to download.\r\n\r\n::\r\n\r\n download_from_Wikimedia_Commons Example.jpg Example_ka.png\r\n\r\nUsing a category\r\n~~~~~~~~~~~~~~~~\r\n\r\nJust list the files we want to download.\r\n\r\n::\r\n\r\n download_from_Wikimedia_Commons --category Example_images\r\n\r\nUsing a file list\r\n~~~~~~~~~~~~~~~~~\r\n\r\nThe file list must be formated as following, with one file per line, and\r\n``filename,width``:\r\n\r\n::\r\n\r\n Example.jpg,100\r\n Example ka.png,80\r\n\r\nThen use the ``--list`` argument:\r\n\r\n::\r\n\r\n download_from_Wikimedia_Commons --list list.txt\r\n\r\nSetting the output folder\r\n~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nBy default, the tool downloads the files in the current directory.\r\n\r\nThis can be changed using the ``--output`` flag with a valid path.\r\n\r\n::\r\n\r\n download_from_Wikimedia_Commons Example.jpg --output some/path/\r\n\r\nSetting the default width\r\n~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nYou can set the width of the thumbnail by using the ``--width``\r\nargument:\r\n\r\n::\r\n\r\n download_from_Wikimedia_Commons Example.jpg --width 50\r\n\r\nVerbosity\r\n~~~~~~~~~\r\n\r\nBy default, the tool display basic information its logs (through\r\n``logging``).\r\n\r\nYou can adjust the verbosity level with the ``-v`` and ``-q`` flags: use\r\n``-v`` to display DEBUG-level messages, ``-q`` to silence INFO-level\r\nmessages.\r\n\r\nInstallation\r\n------------\r\n\r\nEasiest way to install is to use ``pip`` from the Python Package Index:\r\n\r\n::\r\n\r\n pip install CommonsDownloader\r\n\r\nAlternatively, you can clone the repository and install it using\r\n``setuptools``:\r\n\r\n::\r\n\r\n python setup.py install\r\n\r\nThis will install the executable script\r\n``download_from_Wikimedia_Commons``\r\n\r\n.. |Build Status| image:: https://travis-ci.org/Commonists/CommonsDownloader.svg?branch=master\r\n :target: https://travis-ci.org/Commonists/CommonsDownloader\r\n.. |Coverage Status| image:: https://coveralls.io/repos/Commonists/CommonsDownloader/badge.svg?branch=master\r\n :target: https://coveralls.io/r/Commonists/CommonsDownloader?branch=master\r\n.. |Code Health| image:: https://landscape.io/github/Commonists/CommonsDownloader/master/landscape.svg?style=flat\r\n :target: https://landscape.io/github/Commonists/CommonsDownloader/master\r\n.. |Documentation Status| image:: https://readthedocs.org/projects/commonsdownloader/badge/?version=latest\r\n :target: https://readthedocs.org/projects/commonsdownloader/?badge=latest\r\n.. |Pypi| image:: https://img.shields.io/pypi/v/CommonsDownloader.svg?style=flat\r\n :target: https://pypi.python.org/pypi/CommonsDownloader\r\n.. |License| image:: https://img.shields.io/pypi/l/CommonsDownloader.svg?style=flat\r\n :target: http://opensource.org/licenses/MIT", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/Commonists/CommonsDownloader", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "CommonsDownloader", "package_url": "https://pypi.org/project/CommonsDownloader/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/CommonsDownloader/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/Commonists/CommonsDownloader" }, "release_url": "https://pypi.org/project/CommonsDownloader/0.5.3/", "requires_dist": null, "requires_python": null, "summary": "Download thumbnails from Wikimedia Commons", "version": "0.5.3" }, "last_serial": 1422659, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "abb1ab27bd3e4fabfe005d18ec34c68a", "sha256": "ee96e5698b48c4e2895d3a0ead1cb81248885131a266016cab586dd36c56574f" }, "downloads": -1, "filename": "CommonsDownloader-0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "abb1ab27bd3e4fabfe005d18ec34c68a", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 8079, "upload_time": "2015-02-13T17:29:26", "url": "https://files.pythonhosted.org/packages/20/57/9cbdc7ebd529cb6bf651054d39069fa6867b214b86140d6b92c8ea5bb163/CommonsDownloader-0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a91fee7256fc17d64fb3e1ad7b9c28a", "sha256": "10b5c69838b8ecd88635d4347a1f3aa1460b25785fea249766af9024e8c6672c" }, "downloads": -1, "filename": "CommonsDownloader-0.3.tar.gz", "has_sig": false, "md5_digest": "6a91fee7256fc17d64fb3e1ad7b9c28a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7214, "upload_time": "2015-02-13T17:29:29", "url": "https://files.pythonhosted.org/packages/96/8f/d7bf00e3d80820fd799b24c0e7d9cc26d57268670903bf88784f99a2b1ff/CommonsDownloader-0.3.tar.gz" } ], "0.5": [], "0.5.3": [ { "comment_text": "", "digests": { "md5": "5cb020935c7f37c6165cf28d256d3a55", "sha256": "fb0a94ef1acf2c8ee76ec4287c3dda3ef2d354bbeff6ccc6607f59194616bf26" }, "downloads": -1, "filename": "CommonsDownloader-0.5.3-py2-none-any.whl", "has_sig": false, "md5_digest": "5cb020935c7f37c6165cf28d256d3a55", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8508, "upload_time": "2015-02-13T23:43:45", "url": "https://files.pythonhosted.org/packages/9a/44/c2f1ffc7e17ac4f3f5872282c14c77922fa73ceb05a05e515b9be5454ae7/CommonsDownloader-0.5.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "015f10bf4516a707ea84773e627273b6", "sha256": "59e1dcd4badf920f62b862ee88737b17275bf6699870004c0b1d60ca7a94c6e9" }, "downloads": -1, "filename": "CommonsDownloader-0.5.3.tar.gz", "has_sig": false, "md5_digest": "015f10bf4516a707ea84773e627273b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7650, "upload_time": "2015-02-13T23:43:43", "url": "https://files.pythonhosted.org/packages/ed/8c/1e2b264b4fe99f5cc878ee2d968c79d5f39a118f96c264db073a3bc356f5/CommonsDownloader-0.5.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5cb020935c7f37c6165cf28d256d3a55", "sha256": "fb0a94ef1acf2c8ee76ec4287c3dda3ef2d354bbeff6ccc6607f59194616bf26" }, "downloads": -1, "filename": "CommonsDownloader-0.5.3-py2-none-any.whl", "has_sig": false, "md5_digest": "5cb020935c7f37c6165cf28d256d3a55", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8508, "upload_time": "2015-02-13T23:43:45", "url": "https://files.pythonhosted.org/packages/9a/44/c2f1ffc7e17ac4f3f5872282c14c77922fa73ceb05a05e515b9be5454ae7/CommonsDownloader-0.5.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "015f10bf4516a707ea84773e627273b6", "sha256": "59e1dcd4badf920f62b862ee88737b17275bf6699870004c0b1d60ca7a94c6e9" }, "downloads": -1, "filename": "CommonsDownloader-0.5.3.tar.gz", "has_sig": false, "md5_digest": "015f10bf4516a707ea84773e627273b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7650, "upload_time": "2015-02-13T23:43:43", "url": "https://files.pythonhosted.org/packages/ed/8c/1e2b264b4fe99f5cc878ee2d968c79d5f39a118f96c264db073a3bc356f5/CommonsDownloader-0.5.3.tar.gz" } ] }