Pywikibot is a Python library and collection of scripts that automate work on MediaWiki sites. Originally designed for Wikipedia, it is now used throughout the Wikimedia Foundation's projects and on many other wikis.

Pywikibot logo

Running a bot

Decorative - picture of three toy robots

Writing a bot

Developing Pywikibot

Decorative - board filled with post-its

Get help

News

Maintenance updateA new stable release 9.6.1 has been deployed. It is marked with stable tag. This is the last release supporting Python 3.7.
Maintenance update A new pywikibot-scripts release 9.6.1 was published.
Release Python 3.13.1, 3.12.8, 3.11.11, 3.10.16 and 3.9.21 final releases are available.
ReleaseA new stable release 9.6.0 has been deployed.
Release A new pywikibot-scripts release 9.6.0 was published.
Release A new stable release 9.5.0 has been deployed.
Release A new pywikibot-scripts release 9.5.0 was published.
Maintenance updateA new stable release 9.4.1 has been deployed.
Maintenance updateA new pywikibot-scripts release 9.4.1 was published.
ReleasePython 3.13.0 final release is available.
Release A new stable release 9.4.0 has been deployed.
Release The first pywikibot-scripts release 9.4.0 was published.
Release Python 3.12.7 final release is available.