A simple CLI tool for moving enwp files to Commons
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mtc_cli-0.2.0.tar.gz.
File metadata
- Download URL: mtc_cli-0.2.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c64f5ae509d1173b9fd633992651a89f5daaf4f1efaf1b569f5737f0aa968680
|
|
| MD5 |
cf0384692dcc7d4a7febb0417d1682f8
|
|
| BLAKE2b-256 |
cf1b1de19c37cd4d029b1ba14072640ef6b1bc133c2755dc721641d246030ee9
|
File details
Details for the file mtc_cli-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mtc_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afe1a46c87f8b5bfadaab4ccc517b757d6184d06e457e51237cd52dd5d28e99c
|
|
| MD5 |
73bec1536a7a8780d0695305cb585976
|
|
| BLAKE2b-256 |
bd95a544724d77570c5cbb71c1cb111f42fc7630177f69c09b31d8330c6eab0c
|