Skip to main content

Batch Wikimedia Commons Uploader

Project description

Simple Commons Uploader

Python 3.7 License: GPL v3 MediaWiki 1.27+

The Simple Commons Uploader makes it easy to batch upload your self-made photos and videos to the Wikimedia Commons.

⚠️ You must have an account on Wikimedia Commons to use this script. Create an account by going here.

Download

pip install simple-commons-uploader

Usage

usage: scu [-h] [--user USER] [--pw PW] [-i] [--wgen] [folders [folders ...]]

Simple Commons Uploader

positional arguments:
  folders      folders with files to upload

optional arguments:
  -h, --help   show this help message and exit
  --user USER  username to use
  --pw PW      password to use
  -i           force interactive login
  --wgen       run wgen password manager

Authentication/Login

The Simple Commons Uploader works with your normal password and BotPasswords.

There are three ways to authenticate:

  1. Interactively typing your credentials into the terminal, by running the program with the -i flag.
  2. Specifying your credentials via the --user and --pw flags.
  3. 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.

Behavior Details

The Simple Commons Uploader only uploads files in these file formats. Any other file types will be skippied.

Uploaded 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple-commons-uploader-0.2.1.tar.gz (19.2 kB view hashes)

Uploaded Source

Built Distribution

simple_commons_uploader-0.2.1-py3-none-any.whl (21.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page