Package pywikipedia :: Module wikipedia :: Class Site
[show private | hide private]
[frames | no frames]

Type Site

object --+
         |
        Site


Method Summary
  __init__(self, code, fam, user)
Constructor takes three arguments:
  __cmp__(self, other)
Pseudo method to be able to use equality and inequality tests on Site objects
  __hash__(self)
  __repr__(self)
  allmessages_address(self)
  allpages_address(self, s, ns)
  broken_redirects_address(self, default_limit)
  category_namespace(self)
  category_namespaces(self)
  category_on_one_line(self)
  checkCharset(self, charset)
  cookies(self)
  delete_address(self, s)
  double_redirects_address(self, default_limit)
  edit_address(self, s)
  encoding(self)
  encodings(self)
  export_address(self)
  family(self)
  get_address(self, s)
  getSite(self, code)
  getToken(self, getalways, getagain)
  hostname(self)
  image_namespace(self, fallback)
  interwiki_putfirst(self)
  interwiki_putfirst_doubled(self, list_of_links)
  language(self)
  languages(self)
  linkto(self, linkname, othersite)
  loggedin(self, check)
  login_address(self)
  maintenance_address(self, sub, default_limit)
  namespace(self, num)
  namespaces(self)
  newpages_address(self, n)
  purge_address(self, s)
  put_address(self, s)
  puttoken(self, value)
  redirect(self, default)
  references_address(self, s)
  sitename(self)
  template_namespace(self, fallback)
  upload_address(self)
  version(self)
  watchlist_address(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

__init__(self, code, fam=None, user=None)
(Constructor)

Constructor takes three arguments:

code language code for Site fam Wikimedia family (optional: defaults to configured) user User to use (optional: defaults to configured)
Overrides:
__builtin__.object.__init__

__cmp__(self, other)
(Comparison operator)

Pseudo method to be able to use equality and inequality tests on Site objects

Generated by Epydoc 2.1 on Sun Jul 03 17:07:34 2005 http://epydoc.sf.net