skillfed

mwcli

Utilities for processing MediaWiki on the command line.

mwcli v0.0.3 246.7K downloads/30d#8,707 on PyPI1
Permissive license MIT Abandoned released

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 mwcli

uv

uv add mwcli

poetry

poetry add mwcli

Installing 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

Environment :: Other EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Scientific/EngineeringTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: GeneralTopic :: Utilities

Tags

mediawiki command line toolscli utilities for mediawikimediawiki processingcommand line wiki toolsmediawiki helpers
mediawikicli-toolsabandoned

More Scientific/Engineering packages