MediaWiki Utilities is an open source (MIT Licensed) library developed by Aaron Halfaker for extracting and processing data from MediaWiki installations, slave databases and xml dumps.
Instal with pip: pip install mediawiki-utilities
Note: Use of this library requires Python 3 or later.
A set of utilities for interacting with MediaWiki’s web API.
A set of utilities for interacting with MediaWiki’s database.
A set of utilities for processing MediaWiki’s XML database dumps quickly and without dealing with streaming XML.
A set of utilities for tracking the persistence of content between revisions.
A set of utilities for performing revert detection
A set of utilities for grouping revisions and other events into sessions
A set of utilities for normalizing and parsing page titles
None yet. See http://github.com/halfak/mediawiki-utilities. Pull requests are encouraged.