Socket
Socket
Sign inDemoInstall

mwklient

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mwklient

MediaWiki API client


Maintainers
1

Readme

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

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc