python3-mwclient

MediaWiki API client in Python

Description

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

Most properties and generators accept the same parameters as the API, without their two-letter prefix. Exceptions to this rule:

 * Image.imageinfo is the imageinfo of the latest image. Earlier
   versions can be fetched using imagehistory()
 * Site.all*: parameter [ap]from renamed to start
 * categorymembers is implemented as Category.members
 * deletedrevs is deletedrevisions
 * usercontribs is usercontributions
 * First parameters of search and usercontributions are search and
   user respectively

Properties and generators are implemented as Python generators. Their limit parameter is only an indication of the number of items in one chunk. It is not the total limit. Doing list(generator(limit = limit)) will return ALL items of generator, and not be limited by the limit value. Default chunk size is generally the maximum chunk size.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/mwclient/mwclient


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-mwclient