Skip to content
Sections
>> Trisquel >> Paquets >> nabia >> python >> python3-mwclient
etiona  ] [  nabia  ] [  aramo  ]
[ Paquet source : mwclient  ]

Paquet : python3-mwclient (0.10.0-2)

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.

Autres paquets associés à python3-mwclient

  • dépendances
  • recommandations
  • suggestions
  • 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)

Télécharger python3-mwclient

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 23,6 ko111 ko [liste des fichiers]