Skip to content
Sections
>> Trisquel >> Pakketten >> etiona >> python >> python3-mwclient
etiona  ] [  nabia  ] [  aramo  ]
[ Bron: mwclient  ]

Pakket: python3-mwclient (0.8.7-1)

MediaWiki API client in Python

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.

Andere aan python3-mwclient gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-requests-oauthlib
    module providing OAuthlib auth support for requests (Python 3)
  • dep: python3-six
    Python 2 and 3 compatibility library (Python 3 interface)

python3-mwclient downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 22,7 kB110 kB [overzicht]