A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Ben Kurtovic 2929380e12 Preliminary documentation updates před 12 roky
earwigbot Keep dynamic module in an attr so it doesn't get dealloc'd před 12 roky
.gitignore str->int key conversion no longer necessary před 12 roky
LICENSE Copyright update for 2012. před 13 roky
README.md Preliminary documentation updates před 12 roky
bot.py Copyright update for 2012. před 13 roky

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

From stable

From development

Setup

It’s recommended to run the bot’s unit tests before installing. Run python -m unittest discover tests from the project’s root directory.

Note: some unit tests require an internet connection.

Customizing

Hacking