{ "info": { "author": "Cody Logan", "author_email": "clpo13@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Utilities" ], "description": "# wikiget\n\n[![Build Status](https://travis-ci.org/clpo13/wikiget.svg?branch=master)](https://travis-ci.org/clpo13/wikiget)\n[![PyPI version](https://badge.fury.io/py/wikiget.svg)](https://badge.fury.io/py/wikiget)\n\nSomething like wget for downloading a file from MediaWiki sites (like Wikipedia\nor Wikimedia Commons) using only the file name or the URL of its description\npage.\n\nRequires Python 2.7 or 3.5+. Install with `pip install --user wikiget`.\n\n## Usage\n\n`wikiget [-h] [-V] [-q | -v] [-f] [-a] [--site SITE] [-o OUTPUT] FILE`\n\nIf `FILE` is in the form `File:Example.jpg` or `Example.jpg`, it will be fetched\nfrom the default site, which is \"en.wikipedia.org\". If it's the fully-qualified\nURL of a file description page, like `https://commons.wikimedia.org/wiki/File:Example.jpg`,\nthe file is fetched from the specified site, in this case \"commons.wikimedia.org\".\nFull URLs may contain characters your shell interprets differently, so you can\neither escape those characters with a backslash `\\` or surround the entire URL\nwith single `'` or double `\"` quotes.\n\nThe site can also be specified with the `--site` flag, though this will not have\nany effect if the full URL is given.\n\nMore detailed information, such as the site used and full URL of the file, can be\ndisplayed with `-v` or `--verbose`. Use `-vv` to display even more detail. `-q` can\nbe used to silence warnings.\n\nBy default, the program won't overwrite existing files with the same name as the\ntarget, but this can be forced with `-f` or `--force`. Additionally, the file can\nbe downloaded to a different name with `-o`.\n\nFiles can be batch downloaded with the `-a` or `--batch` flag. In this mode, `FILE`\nwill be treated as an input file containing multiple files to download, one filename\nor URL per line. If an error is encountered, execution stops immediately and the\noffending filename is printed.\n\n### Examples\n\n```bash\nwikiget File:Example.jpg\nwikiget --site commons.wikimedia.org File:Example.jpg\nwikiget https://en.wikipedia.org/wiki/File:Example.jpg -o test.jpg\n```\n\n## Future plans\n\n- batch download by (Commons) category or user uploads\n- download from any MediaWiki-powered site, not just Wikimedia projects\n- maybe: download Wikipedia articles, in plain text, wikitext, or other formats\n\n## Contributing\n\nIt's recommended that you use a\n[virtual environment manager](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/)\nlike venv or [virtualenv](https://virtualenv.pypa.io/en/latest/)) to\ninstall dependencies:\n\n```bash\ngit clone https://github.com/clpo13/wikiget.git # if you plan on submitting pull requests, fork the repo instead\ncd wikiget\n\n# Python 2 or 3\npip install --user virtualenv\nvirtualenv venv\n\n# Python 3\npython3 -m venv venv\n```\n\nTo activate the virtual environment, use one of the following commands:\n\n```bash\nsource venv/bin/activate # Linux and macOS; activate.csh and activate.fish are also available\n.\\venv\\Scripts\\activate # Windows (Command Prompt or PowerShell)\n```\n\nThen run `pip install -e .` to invoke an\n[\"editable\" install](https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs),\nmeaning any changes made to the source will be reflected immediately in the\nexecutable script. Unit tests can be run with `python setup.py test`.\n\n## License\n\nCopyright (C) 2018, 2019 Cody Logan\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program (see [LICENSE](LICENSE)). If not, see\n.\n\n\n", "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/clpo13/wikiget", "keywords": "download mediawiki wikimedia wikipedia", "license": "", "maintainer": "", "maintainer_email": "", "name": "wikiget", "package_url": "https://pypi.org/project/wikiget/", "platform": "", "project_url": "https://pypi.org/project/wikiget/", "project_urls": { "Bug Reports": "https://github.com/clpo13/wikiget/issues", "Homepage": "https://github.com/clpo13/wikiget" }, "release_url": "https://pypi.org/project/wikiget/0.2.1/", "requires_dist": [ "future", "mwclient (>=0.10.0)", "pytest-runner", "requests", "tqdm" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "summary": "CLI tool for downloading files from MediaWiki sites", "version": "0.2.1" }, "last_serial": 5920942, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7ea99b0c85abdccceab1189a7ec4c31f", "sha256": "bfb32ca82eb469caad788d68ba4b80108472230b2b23609feb8a4b1e232332d3" }, "downloads": -1, "filename": "wikiget-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7ea99b0c85abdccceab1189a7ec4c31f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18451, "upload_time": "2018-12-14T20:58:12", "url": "https://files.pythonhosted.org/packages/c2/54/3f383290025abff37d64533c6cdc4140959946da6f8322b75ea90adf9f8b/wikiget-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b22bc7a4d68c92d543e51df2ac811631", "sha256": "b351cb3e296396fcbb11e8d5f7c7e4ddaf9de6599fed6d2c8e0459efac7fa0f0" }, "downloads": -1, "filename": "wikiget-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b22bc7a4d68c92d543e51df2ac811631", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5806, "upload_time": "2018-12-14T20:58:14", "url": "https://files.pythonhosted.org/packages/74/b7/cb8e2442b90d71b778ef259f9cb4527c5febd093f742a64eeef126d344f1/wikiget-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3738a6e97264a356b12fd0417bec5495", "sha256": "96b432c98b273e3513ebb904c430bab115b8f10475561df35d54ca2b8e3c6e50" }, "downloads": -1, "filename": "wikiget-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3738a6e97264a356b12fd0417bec5495", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18538, "upload_time": "2019-01-07T19:16:42", "url": "https://files.pythonhosted.org/packages/5e/b5/ece79e0f1d0d4d481b69566a8f1d16ccc8a2df6ded868df758dd957e485f/wikiget-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "009d1b70e805f726b2d8e107057b59fc", "sha256": "5fad8c0b62d5bd810b593caf9b5dc8ddfe7607146b77405a164b155abd57f9c2" }, "downloads": -1, "filename": "wikiget-0.1.1.tar.gz", "has_sig": false, "md5_digest": "009d1b70e805f726b2d8e107057b59fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5955, "upload_time": "2019-01-07T19:16:44", "url": "https://files.pythonhosted.org/packages/54/13/9e81f9b5185af4cac9553cbcd7ff1f5868aef8d32e1edaf51c123f176052/wikiget-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "5b20c478fd975c3b8f6781ba05cfebd7", "sha256": "e7448944830771000c42a228638066c5643a3cf2e381635d7072ef199ba6f8e3" }, "downloads": -1, "filename": "wikiget-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5b20c478fd975c3b8f6781ba05cfebd7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19144, "upload_time": "2019-06-14T21:21:46", "url": "https://files.pythonhosted.org/packages/47/b7/3329d9de15a3f82b2b6356e9a601bc73121b18c5db0cc55c8de9403ba4f6/wikiget-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0af152fdabb2673331df167c6ee9befd", "sha256": "fc33c278236b5eb2791c88d8e3168149ff8204f5b06dc5dcaf3f75320dfc3f0b" }, "downloads": -1, "filename": "wikiget-0.1.2.tar.gz", "has_sig": false, "md5_digest": "0af152fdabb2673331df167c6ee9befd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6753, "upload_time": "2019-06-14T21:21:47", "url": "https://files.pythonhosted.org/packages/69/49/c05a96faa5d085c97d0cee5fb5379130cf468ce4c8e5fd690924f240e784/wikiget-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "efe8202de14d920b341c0a1674fa7014", "sha256": "8809d40ec2f408d8e6a7e02d68ca391ff16e6eefd8000875c2dd8a0b8b0296a7" }, "downloads": -1, "filename": "wikiget-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "efe8202de14d920b341c0a1674fa7014", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 19179, "upload_time": "2019-06-14T21:36:08", "url": "https://files.pythonhosted.org/packages/8a/77/068064b2cc1dedea12e8b904c3976c877bc550bc0119e86daeda9b4d478d/wikiget-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "916cb4522d61d43b44353e64308e2a2b", "sha256": "f4f81a8c0a3356aa43373f3c0002603f562e24b9386ed6f7b3f09eb6c484ee37" }, "downloads": -1, "filename": "wikiget-0.1.3.tar.gz", "has_sig": false, "md5_digest": "916cb4522d61d43b44353e64308e2a2b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 6806, "upload_time": "2019-06-14T21:36:09", "url": "https://files.pythonhosted.org/packages/aa/0b/f117b3aa16e8cdbda96f475b9ee9133edd19fd490b8ecd0e680b994b85e6/wikiget-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "e5f717ac3523fd6e2ca9262894e220b1", "sha256": "1073963971f572526f34592e55e1c533b51ed07f03d9906ffc51c2694ab71700" }, "downloads": -1, "filename": "wikiget-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e5f717ac3523fd6e2ca9262894e220b1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 19174, "upload_time": "2019-08-05T20:33:38", "url": "https://files.pythonhosted.org/packages/12/c9/96391a0715b334fa395cca1dd68366041bff1b93269556da301cd1b71d37/wikiget-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9bdf78b36e5b2c5712878a49786f9711", "sha256": "86bd2fec44765312a4b50450a8a3c39aaa61698464775796fe13b7c9acf0b04d" }, "downloads": -1, "filename": "wikiget-0.1.4.tar.gz", "has_sig": false, "md5_digest": "9bdf78b36e5b2c5712878a49786f9711", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 6802, "upload_time": "2019-08-05T20:33:39", "url": "https://files.pythonhosted.org/packages/47/03/b652fde3597a58d59ee65ebda71c47a916394d283b907fb122d9d5cd3dbe/wikiget-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "18237bcf575433ffb63673eaa8a8acc8", "sha256": "dca77ea9a9ffc503ae7aedf3e13ec7e21d68f9014ae4a3ab9fdc218e189cd111" }, "downloads": -1, "filename": "wikiget-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "18237bcf575433ffb63673eaa8a8acc8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 19346, "upload_time": "2019-08-06T06:53:22", "url": "https://files.pythonhosted.org/packages/8b/8d/63a9cf458587af47074bf8501bbceced9ddfe7f7bb740e04e572cb753e78/wikiget-0.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e5f942f0f9c7a6d31605a651127d3681", "sha256": "e26256ed520eca21bb54d0bbcc62b0c926b8073216bb884a9290104410f5cccc" }, "downloads": -1, "filename": "wikiget-0.1.5.tar.gz", "has_sig": false, "md5_digest": "e5f942f0f9c7a6d31605a651127d3681", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 7236, "upload_time": "2019-08-06T06:53:24", "url": "https://files.pythonhosted.org/packages/06/b5/05535e172dfbea34a0dd05eabddbb71046c92c7546997ce2918b963ceee1/wikiget-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "d67ab4cf298aecc0a39e1f0531ae8877", "sha256": "55834a0fb4afb1c344aaed15a05af61819120ad9e15f920542dc55d4529980cc" }, "downloads": -1, "filename": "wikiget-0.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d67ab4cf298aecc0a39e1f0531ae8877", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 19348, "upload_time": "2019-09-18T20:00:57", "url": "https://files.pythonhosted.org/packages/08/b1/2a979dbaabe7e0a4c4f20acb3f812608b44e56b6cd430305ab43c6ca7f05/wikiget-0.1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "253fbdaa215bf2706ea9e322b2d09416", "sha256": "9a9430c9f55ffa09d59715b12fbb5bf7c568cd2d57306c4166418b0c04c76fb7" }, "downloads": -1, "filename": "wikiget-0.1.6.tar.gz", "has_sig": false, "md5_digest": "253fbdaa215bf2706ea9e322b2d09416", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 7236, "upload_time": "2019-09-18T20:00:59", "url": "https://files.pythonhosted.org/packages/1b/5a/2621a55bbd038cf25948c4e530a182007b24ec988bd71c200c82ba59e26f/wikiget-0.1.6.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "482df01043e90a9526ee24623b930196", "sha256": "04dc3a0077cba55c262d7dafab953308e94d5e96b67773c8e4deaf5cbd4b5344" }, "downloads": -1, "filename": "wikiget-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "482df01043e90a9526ee24623b930196", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 19776, "upload_time": "2019-09-26T23:09:59", "url": "https://files.pythonhosted.org/packages/d2/f1/884b7ce0d58decb298bad9b76ae73685eb3fa1a81c27942bedfdbd5c0358/wikiget-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13de7bdadbeb9b82262c2c5435b58f7e", "sha256": "2a62f4f6374c61dee588f03788730d50aa928b74bc6e9d96ee3ab9aae35dd7df" }, "downloads": -1, "filename": "wikiget-0.2.0.tar.gz", "has_sig": false, "md5_digest": "13de7bdadbeb9b82262c2c5435b58f7e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 7641, "upload_time": "2019-09-26T23:10:00", "url": "https://files.pythonhosted.org/packages/c1/e6/993b9be10dba7bb282ad468499102a5d9a595e93afb6193823e290319653/wikiget-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "acb344e769e8b432c719b84ba69ebbef", "sha256": "148fd8e47c32408a0c67e654b9ffd65cf7c0b7c33c455595d7d93b7f98907cf2" }, "downloads": -1, "filename": "wikiget-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "acb344e769e8b432c719b84ba69ebbef", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 19948, "upload_time": "2019-10-02T22:52:34", "url": "https://files.pythonhosted.org/packages/47/40/954f154afde52fa5b75127f65f4802e3be15e63784bb246aa75f38c37995/wikiget-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "42cd41f65c5afbecf475585eacf63321", "sha256": "c1ab1b56f2d5267d40168696ae7cc182fb434e175ce36d9f9f8e31e31d6d22be" }, "downloads": -1, "filename": "wikiget-0.2.1.tar.gz", "has_sig": false, "md5_digest": "42cd41f65c5afbecf475585eacf63321", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 7743, "upload_time": "2019-10-02T22:52:36", "url": "https://files.pythonhosted.org/packages/84/c0/07c6fcb21dc2973a924ee4755287d04c82da0d74d1b5cf38239ce4cba1f2/wikiget-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "acb344e769e8b432c719b84ba69ebbef", "sha256": "148fd8e47c32408a0c67e654b9ffd65cf7c0b7c33c455595d7d93b7f98907cf2" }, "downloads": -1, "filename": "wikiget-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "acb344e769e8b432c719b84ba69ebbef", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 19948, "upload_time": "2019-10-02T22:52:34", "url": "https://files.pythonhosted.org/packages/47/40/954f154afde52fa5b75127f65f4802e3be15e63784bb246aa75f38c37995/wikiget-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "42cd41f65c5afbecf475585eacf63321", "sha256": "c1ab1b56f2d5267d40168696ae7cc182fb434e175ce36d9f9f8e31e31d6d22be" }, "downloads": -1, "filename": "wikiget-0.2.1.tar.gz", "has_sig": false, "md5_digest": "42cd41f65c5afbecf475585eacf63321", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 7743, "upload_time": "2019-10-02T22:52:36", "url": "https://files.pythonhosted.org/packages/84/c0/07c6fcb21dc2973a924ee4755287d04c82da0d74d1b5cf38239ce4cba1f2/wikiget-0.2.1.tar.gz" } ] }