Skip to main content
mwclient logo

mwklient

Build Status License: MIT

Test Coverage Latest Version Python Version Doc Status

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 vs 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

Installation

The current stable version 0.1.0 is available through PyPI:

$ pip install mwklient

Documentation

Up-to-date documentation is hosted at Read the Docs. It includes a user guide to get started using mwclient, a reference guide, implementation and development notes.

Contributing

Patches and PR are welcome! Consider also contributing to the original repo. The current development version can be easily installed from GitHub, simply cloning the repo:

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

In order to test your edits, build an editable version with the command:

$ pip install -e .

Finally, if you want to run tests, do

$ python setup.py test

Metadata

Release files for mwklient 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mwklient 0.1.0
File Size Uploaded
mwklient-0.1.0.tar.gz 36.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mwklient 0.1.0
File Interpreter ABI Platform
mwklient-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 69.2 kB

Release files / mwklient-0.1.0.tar.gz

Download URL mwklient-0.1.0.tar.gz
Size 36.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d1c1ec358aaf144917aa70d68e75559434f5bf48f688113a8c760714d1d13208
BLAKE2b-256 checksum
How to use checksums
5170c38f94d56aee8e7b382292d2e64736f9f760899bc6dd77d9d5708a57281b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / mwklient-0.1.0-py2.py3-none-any.whl

Download URL mwklient-0.1.0-py2.py3-none-any.whl
Size 32.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
93fc3cf0ae6ba40ed539bb3bd6ab749d5dea1fc22614a49bd8094af69c60a485
BLAKE2b-256 checksum
How to use checksums
66acadf98deb4ede7cbd715881a0bfdb9cb6fbe0f15370aff5fd7734bf53f30b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page