{ "info": { "author": "Fastily", "author_email": "fastily@users.noreply.github.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Simple Commons Uploader\n[![Python 3.7](https://upload.wikimedia.org/wikipedia/commons/f/fc/Blue_Python_3.7_Shield_Badge.svg)](https://www.python.org)\n[![License: GPL v3](https://upload.wikimedia.org/wikipedia/commons/8/86/GPL_v3_Blue_Badge.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html)\n[![MediaWiki 1.27+](https://upload.wikimedia.org/wikipedia/commons/2/2c/MediaWiki_1.27%2B_Blue_Badge.svg)](https://www.mediawiki.org/wiki/MediaWiki)\n\nThe Simple Commons Uploader makes it easy to batch upload your self-made photos and videos to the [Wikimedia Commons](https://commons.wikimedia.org/wiki/Main_Page).\n\n\u26a0\ufe0f You must have an account on Wikimedia Commons to use this script. You can create an account by [going here](https://commons.wikimedia.org/wiki/Special:CreateAccount).\n\n\n## Authentication/Login\nThe Simple Commons Uploader works with your normal password and [BotPasswords](https://commons.wikimedia.org/wiki/Special:BotPasswords). \n\nThere are three ways to authenticate:\n1. Interactively typing your credentials into the terminal, by running the program with the `-i` flag.\n2. Specifying your credentials via the `--user` and `--pw` flags.\n3. Using the Wgen setup utility by initially running the program with the `--wgen` flag. This method has the advantage of saving your credentials so you won't have to type them in the next time you use the program.\n\n\n## Using\nThe Simple Commons Uploader only uploads files in [these file formats](https://commons.wikimedia.org/wiki/Commons:File_types). Any other file types will be skippied.\n\nUploaded files will be named based on local folder name. For example, if your folder is called `Fancy pigeons`, contains jpgs of fancy pigeons, and today's date is 2018-01-01, then the resulting files will be named `File:Fancy pigeons 1 2018-01-01.jpg`, `File:Fancy pigeons 2 2018-01-01.jpg`, `File:Fancy pigeons 3 2018-01-01.jpg`, etc.\n\n\n## Usage\n```\nusage: scu.py [-h] [--user USER] [--pw PW] [-i] [--wgen] [folders [folders ...]]\n\nSimple Commons Uploader\n\npositional arguments:\n folders folders with files to upload\n\noptional arguments:\n -h, --help show this help message and exit\n --user USER username to use\n --pw PW password to use\n -i force interactive login\n --wgen run wgen password manager\n```\n\n## Download\n```bash\npip install simple_commons_uploader\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/fastily/simple-commons-uploader", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "simple-commons-uploader", "package_url": "https://pypi.org/project/simple-commons-uploader/", "platform": "", "project_url": "https://pypi.org/project/simple-commons-uploader/", "project_urls": { "Homepage": "https://github.com/fastily/simple-commons-uploader" }, "release_url": "https://pypi.org/project/simple-commons-uploader/0.1.1/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "Batch Wikimedia Commons Uploader", "version": "0.1.1" }, "last_serial": 5758605, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "5820026fe0b67b95a94977591c1435cf", "sha256": "3e2be4bdcb3bc4b3b8cfcdefbbdb61982b1dc26f2fc7a43daad5ed92667b5318" }, "downloads": -1, "filename": "simple_commons_uploader-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5820026fe0b67b95a94977591c1435cf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19705, "upload_time": "2019-08-30T06:36:21", "url": "https://files.pythonhosted.org/packages/0b/e7/4284a901b443c7e35e81d4ee8045e7a15cf7a4ae568bf63cf0d754ac7711/simple_commons_uploader-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1bde55976c3dac26739a7f668c53a26e", "sha256": "d11b1df3cf36a9ef4c3fa69c29866bdb7f9437f638cec471eca0d19ff490ceed" }, "downloads": -1, "filename": "simple-commons-uploader-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1bde55976c3dac26739a7f668c53a26e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18157, "upload_time": "2019-08-30T06:36:23", "url": "https://files.pythonhosted.org/packages/42/cd/8c170fbb513036d17737124ff8a2e21d092b218ff81a19eb26d36d2e3f9c/simple-commons-uploader-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5820026fe0b67b95a94977591c1435cf", "sha256": "3e2be4bdcb3bc4b3b8cfcdefbbdb61982b1dc26f2fc7a43daad5ed92667b5318" }, "downloads": -1, "filename": "simple_commons_uploader-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5820026fe0b67b95a94977591c1435cf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19705, "upload_time": "2019-08-30T06:36:21", "url": "https://files.pythonhosted.org/packages/0b/e7/4284a901b443c7e35e81d4ee8045e7a15cf7a4ae568bf63cf0d754ac7711/simple_commons_uploader-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1bde55976c3dac26739a7f668c53a26e", "sha256": "d11b1df3cf36a9ef4c3fa69c29866bdb7f9437f638cec471eca0d19ff490ceed" }, "downloads": -1, "filename": "simple-commons-uploader-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1bde55976c3dac26739a7f668c53a26e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18157, "upload_time": "2019-08-30T06:36:23", "url": "https://files.pythonhosted.org/packages/42/cd/8c170fbb513036d17737124ff8a2e21d092b218ff81a19eb26d36d2e3f9c/simple-commons-uploader-0.1.1.tar.gz" } ] }