Export to GitHub

python-wikitools - Documentation.wiki


This page gives a brief overview of the structure of wikitools, including modules, objects, and exceptions. Functions, methods, and member variables are detailed on the linked pages. The section headers are links to documentation for the modules.

api

api

Objects

  • APIRequest
  • APIResult
  • APIListResult

Exceptions

  • APIError
  • APIDisabled

wiki

wiki

Objects

  • Wiki
  • Namespace
  • WikiCookieJar

Exceptions

  • WikiError - A base class for all errors related to the wiki and wiki pages
  • CookiesExpired - Raised if trying to login from previously stored cookies that are too old.

page

page

Objects

  • Page

Exceptions

  • BadTitle - A subclass of WikiError, raised if trying to query information about an invalid page title
  • NoPage - A subclass of WikiError, raised if trying to modify or query information about a non-existent page
  • BadNamespace - A subclass of WikiError, raised if trying to create a Page object with a non-existent namespace index.
  • EditError - A subclass of WikiError, raised by certain incorrect argument usages in the edit method
  • ProtectError - A subclass of WikiError, raised by certain incorrect argument usages in the protect method

user

user

Objects

  • User

Exceptions

none

category

category

Objects

  • Category

Exceptions

none

wikifile

wikifile

Objects

  • File

Exceptions

  • FileDimensionError - A subclass of WikiError, raised if trying to specify a width and a height if downloading an image
  • UploadError - A subclass of WikiError, raised by certain incorrect argument usages in the upload method

pagelist

pagelist

Objects

none

Exceptions

none