{"id":27161,"library":"mwcli","title":"mwcli","description":"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.","status":"active","version":"0.0.3","language":"python","source_language":"en","source_url":"https://github.com/mediawiki-utilities/python-mwcli","tags":["mediawiki","cli","utilities","wiki","command-line"],"install":[{"cmd":"pip install mwcli","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"The library does not expose a public Python API; use the CLI directly.","wrong":"from mwcli import ...","symbol":"mwcli","correct":"import mwcli"}],"quickstart":{"code":"mwcli --help","lang":"bash","description":"Show available commands and usage."},"warnings":[{"fix":"Pin version if using in scripts. Monitor GitHub for breaking changes.","message":"The library is in early alpha (v0.0.3). No stable API. Commands and options may change without notice.","severity":"gotcha","affected_versions":"<=0.0.3"},{"fix":"Use subprocess or shell to call mwcli commands; do not rely on Python imports.","message":"No public Python API. Importing 'mwcli' in Python yields an empty module. All functionality is only available via command line.","severity":"gotcha","affected_versions":"<=0.0.3"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install mwcli' and use the 'mwcli' command in your shell.","cause":"The package installs a CLI application (scripts), not a Python module. 'import mwcli' will not work.","error":"ModuleNotFoundError: No module named 'mwcli'"},{"fix":"Install with 'pip install mwcli' and ensure the Python scripts directory is in PATH.","cause":"The package is not installed or the script directory is not in PATH.","error":"mwcli: command not found"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}