A simple CLI tool for moving enwp files to Commons
Project description
mtc-cli
mtc-cli is a command line tool that helps simplify and automate file imports from Wikipedia to Commons.
This is the rewritten, spiritual successor to the original MTC! tool.
Install
pip install mtc-cli
Usage
usage: __main__.py [-h] [-u username] [-f] [-d] [-t] [titles ...]
mtc CLI
positional arguments:
titles Files, usernames, templates, or categories
options:
-h, --help show this help message and exit
-u username the username to use
-f Force (ignore filter) file transfer(s)
-d Activate dry run/debug mode (does not transfer files)
-t Add a Now Commons tag to the enwp file
👉 Password is set via env variable <USERNAME>_PW
, such that <USERNAME>
is the username of the bot in all caps.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mtc-cli-0.1.0.tar.gz
(18.4 kB
view hashes)
Built Distribution
mtc_cli-0.1.0-py3-none-any.whl
(18.6 kB
view hashes)