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.
usage: __main__.py [-h] [-u username] [-f] [-d] [-t] [--wgen] [titles ...]
mtc CLI
positional arguments:
titles Files, usernames, templates, or categories
optional arguments:
-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
--wgen run wgen password manager
Note: you must run this program with the --wgen
flag to authenticate yourself before you can perform any transfers.
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.0.1.tar.gz
(18.4 kB
view details)
Built Distribution
mtc_cli-0.0.1-py3-none-any.whl
(18.6 kB
view details)
File details
Details for the file mtc-cli-0.0.1.tar.gz
.
File metadata
- Download URL: mtc-cli-0.0.1.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe9e1bd18039fc2fd63fa9ee8c5ff74f54ffdfa89895b9ec984f2941db2785a8 |
|
MD5 | 9341812eaa02d9c5e009f472314271a1 |
|
BLAKE2b-256 | 6d21ebf28c98b2736d9199d85a58fa3dd42d2295ebb6c00febdcb454bf550708 |
Provenance
File details
Details for the file mtc_cli-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: mtc_cli-0.0.1-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 800036113a3978fc0a25440dd57a7089289f5de56ff65080fb17f98ee8eb4d08 |
|
MD5 | 0e4f059f5d05c6f75b6594cba2acf69f |
|
BLAKE2b-256 | c51667dd6db471a2b4ac02674e444a9e2830ebf3a30cfe13f15d1a30690c1b35 |