Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

mtc-cli

Python 3.12+ MediaWiki 1.35+ License: GPL v3

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.

Metadata

Release files for mtc-cli 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mtc-cli 0.2.0
File Size Uploaded Provenance Actions
mtc_cli-0.2.0.tar.gz 15.8 kB Without provenance Details for mtc_cli-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mtc-cli 0.2.0
File Interpreter ABI Platform Actions
mtc_cli-0.2.0-py3-none-any.whl Python 3 none any Details for mtc_cli-0.2.0-py3-none-any.whl

Total release size: 31.8 kB

Release files / mtc_cli-0.2.0.tar.gz

Download URL mtc_cli-0.2.0.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c64f5ae509d1173b9fd633992651a89f5daaf4f1efaf1b569f5737f0aa968680
BLAKE2b-256 checksum
How to use checksums
cf1b1de19c37cd4d029b1ba14072640ef6b1bc133c2755dc721641d246030ee9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / mtc_cli-0.2.0-py3-none-any.whl

Download URL mtc_cli-0.2.0-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
afe1a46c87f8b5bfadaab4ccc517b757d6184d06e457e51237cd52dd5d28e99c
BLAKE2b-256 checksum
How to use checksums
bd95a544724d77570c5cbb71c1cb111f42fc7630177f69c09b31d8330c6eab0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for mtc-cli 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page