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] [-a api_endpoint] [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)
-a api_endpoint The default desc generation API endpoint to use. Defaults to public toolforge instance.
👉 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.2.0.tar.gz
(15.8 kB
view hashes)
Built Distribution
mtc_cli-0.2.0-py3-none-any.whl
(16.0 kB
view hashes)