Skip to main content
mwclient logo

mwclient

Build status Test coverage Latest version MIT license Documentation status Issue statistics Gitter chat

mwclient is a lightweight Python client library to the MediaWiki API which provides access to most API functionality. It works with Python 3.5 and above, and supports MediaWiki 1.16 and above. For functions not available in the current MediaWiki, a MediaWikiVersionError is raised.

The current stable version 0.11.0 is available through PyPI:

$ pip install mwclient

The current development version can be installed from GitHub:

$ pip install git+git://github.com/mwclient/mwclient.git

Please see the changelog document for a list of changes.

mwclient was originally written by Bryan Tong Minh. It was maintained for many years by Dan Michael O. Heggø, with assistance from Waldir Pimenta. It is currently maintained by Marc Trölitzsch, Adam Williamson and Megan Cutrofello. The best way to get in touch with the maintainers is by filing an issue or a pull request.

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.

There is also some documentation on the GitHub wiki that hasn't been ported yet. If you want to help, you're welcome!

Contributing

Patches are welcome! See this page for information on how to get started with mwclient development.

Metadata

Release files for mwclient 0.11.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 mwclient 0.11.0
File Size Uploaded Provenance Actions
mwclient-0.11.0.tar.gz 72.0 kB Without provenance Details for mwclient-0.11.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mwclient 0.11.0
File Interpreter ABI Platform Actions
mwclient-0.11.0-py3-none-any.whl Python 3 none any Details for mwclient-0.11.0-py3-none-any.whl

Total release size: 105.3 kB

Release files / mwclient-0.11.0.tar.gz

Download URL mwclient-0.11.0.tar.gz
Size 72.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2bb7696f3703243eb33514ab162d7f6076dcedd011be90682936046c5e34fd06
BLAKE2b-256 checksum
How to use checksums
5eb30f77b8838a22e99b9cb64aef15fb96a4a8315fe890dbe3bff6f8364e8940
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / mwclient-0.11.0-py3-none-any.whl

Download URL mwclient-0.11.0-py3-none-any.whl
Size 33.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27914a307cb4539fd49a16d634c9c777c0de0976b3af9225bd95d4657bfd4d74
BLAKE2b-256 checksum
How to use checksums
b0ad2bf4551a9f9c5c360b990ce6119edd717e0f28bb332a71921f4aa52889dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Security for mwclient 0.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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