Skip to main content

MediaWiki API client

Project description

mwklient

Build Status

Test coverage Latest version MIT license

mwklient (forked from mwclient v0.9.3) is a lightweight Python client library to the MediaWiki API which provides access to most API functionality. It works with Python 3.5+ and supports MediaWiki API 1.16+, for functions not available in the current MediaWiki, a MediaWikiVersionError is raised.

mwklient and mwclient

The original project mwclient is still active and supports Python 2.7 too. mwklient is forked from the version 0.9.3 of mwclient and wraps some more api_calls (see next section). Moreover, it will support default error handlers for the most common calls (more details in next commits). Finally, it has a MIT license as well as the original mwclient.

List of new methods

  • page.undo(), revert a given edit page

The current stable version 0.0.1 is not yet available through PyPI:

$ pip install mwklient

The current development version can be installed from GitHub:

$ pip install git+git://github.com/lrusso96/mwklient.git

Documentation

[TODO]

For now, see the original repo.

Contributing

Patches and PR are welcome! Consider also contributing to the original repo.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mwklient-0.0.1.tar.gz (34.7 kB view hashes)

Uploaded Source

Built Distribution

mwklient-0.0.1-py2.py3-none-any.whl (28.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page