mwcli
Utilities for processing MediaWiki on the command line.
What it is and what it does
mwcli is a lightweight library for building command-line tools that interact with MediaWiki installations. It bundles helper functions and classes to reduce boilerplate when writing CLI utilities for wiki-related tasks. The package depends on docopt for argument parsing, para for parallel processing, and mwxml for XML parsing of MediaWiki content.
The package has been dormant since 2020-01-14 with no active maintenance. While the MIT license and low install friction make it accessible, the age of the codebase means compatibility with modern MediaWiki APIs and current Python environments is uncertain. It is most suitable for maintaining legacy projects rather than as a foundation for new work.
Use it for:
- Build a CLI tool to process XML exports from a MediaWiki instance.
- Create a command-line utility to extract structured data from wiki pages.
- Develop batch processing scripts that parse MediaWiki markup from multiple sources.
- Prototype wiki data extraction workflows without writing full argument-parsing boilerplate.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides helper functions and classes for building command-line utilities that work with MediaWiki data.
No—not for new projects. The package is abandoned (last commit 2020-01-14) with no active maintenance. Compatibility with current MediaWiki APIs is unverified. Use only if maintaining legacy code that already depends on it; otherwise build directly on the underlying libraries (docopt, mwxml) it wraps.
Install
mwcli on PyPI
pip
pip install mwcliuv
uv add mwclipoetry
poetry add mwcliInstalling mwcli
Before you install
Low install friction with a pure-Python wheel, but abandoned since 2020-01-14 with no recent maintenance or commits.
License in practice
MIT license is permissive; you can use, modify, and distribute freely with minimal restrictions, provided you retain the license notice.
Quickstart
pip install mwcli
import mwcli
# Use helper functions and classes from mwcli for building MediaWiki CLI utilities
Verify before relying
- Whether runtime dependencies docopt, para, and mwxml are actively maintained.
- Compatibility with current MediaWiki versions and modern Python environments.
- Specific Python version support beyond the 'Python 3 Only' classifier.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — docopt, para, mwxml |
| Maintenance | abandoned — 2,404 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 246,667/month — #8,707 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mwcli-0.0.3-py2.py3-none-any.whl
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
mwtypesProvides standardized Python classes for…
permissive · top 15,000 on PyPI
mwclientmwclient is a Python client library for the…
permissive · top 15,000 on PyPI
mwxmlEfficiently parse and stream-process MediaWiki…
permissive · top 15,000 on PyPI
mwparserfromhellParses MediaWiki wikicode into a queryable…
permissive · top 5,000 on PyPI
bpyutilsProvides a collection of common Python…
permissive · top 5,000 on PyPI
wikitextparserParses and manipulates MediaWiki wikitext…
copyleft · top 15,000 on PyPI
wikipediaProvides simple Python access to Wikipedia…
permissive · top 5,000 on PyPI
stups-cli-supportProvides shared command-line interface…
permissive · top 15,000 on PyPI
pywikibotPywikibot is a Python framework that interfaces…
permissive · top 15,000 on PyPI
cli-helpersCLI Helpers provides utilities for common…
permissive · top 5,000 on PyPI