A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 13 години
123456789101112131415161718192021222324
  1. # -*- coding: utf-8 -*-
  2. """
  3. EarwigBot's Wiki Toolset
  4. This is a collection of classes and functions to read from and write to
  5. Wikipedia and other wiki sites. No connection whatsoever to python-wikitools
  6. written by Mr.Z-man, other than a similar purpose. We share no code.
  7. Import the toolset with `import wiki`.
  8. """
  9. import logging
  10. logger = logging.getLogger("wiki")
  11. logger.addHandler(logging.NullHandler())
  12. from wiki.constants import *
  13. from wiki.exceptions import *
  14. from wiki.functions import *
  15. from wiki.category import Category
  16. from wiki.page import Page
  17. from wiki.site import Site
  18. from wiki.user import User