A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
Ben Kurtovic e6ddbca28e Made it easier to use a DictCursor. 13 yıl önce
bot Made it easier to use a DictCursor. 13 yıl önce
tests adding TestCalc for the IRC command; fixes, additions, cleanup to support etc 13 yıl önce
.gitignore framework-y stuff for AFC statistics bot 13 yıl önce
LICENSE new blowfish.py module, some changes in Cryptography(), LICENSE cleanup 13 yıl önce
README.md Basic SQL querying support with oursql. 13 yıl önce
earwigbot.py Reorganizing functions in config.py; store User-Agent and IRC version in config; exception, docstring, and comment cleanup. 13 yıl önce

README.md

EarwigBot is a Python robot that edits Wikipedia and interacts with people over IRC.

History

Development began, based on the Pywikipedia framework, in early 2009. Approval for its fist task, a copyright violation detector, was carried out in May, and the bot has been running consistently ever since (with the exception of Jan/Feb 2011). It currently handles several ongoing tasks, ranging from statistics generation to category cleanup, and on-demand tasks such as WikiProject template tagging. Since it started running, the bot has made over 45,000 edits.

A project to rewrite it from scratch began in early April 2011, thus moving away from the Pywikipedia framework and allowing for less overall code, better integration between bot parts, and easier maintenance.

Installation

Dependencies

EarwigBot uses the MySQL library oursql (>= 0.9.2) for communicating with MediaWiki databases, and some tasks use their own tables for storage. It is not required.