mwcli

raw JSON →
0.0.3 verified Fri May 01 auth: no python

Utilities for processing MediaWiki on the command line. Provides command-line tools and Python utilities for working with MediaWiki dumps, XML exports, and articles. Current version 0.0.3 is very early alpha; API may change without notice.

pip install mwcli
error ModuleNotFoundError: No module named 'mwcli'
cause The package installs a CLI application (scripts), not a Python module. 'import mwcli' will not work.
fix
Run 'pip install mwcli' and use the 'mwcli' command in your shell.
error mwcli: command not found
cause The package is not installed or the script directory is not in PATH.
fix
Install with 'pip install mwcli' and ensure the Python scripts directory is in PATH.
gotcha The library is in early alpha (v0.0.3). No stable API. Commands and options may change without notice.
fix Pin version if using in scripts. Monitor GitHub for breaking changes.
gotcha No public Python API. Importing 'mwcli' in Python yields an empty module. All functionality is only available via command line.
fix Use subprocess or shell to call mwcli commands; do not rely on Python imports.

Show available commands and usage.

mwcli --help