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

Release Python 3.12.4 final release is available.
Maintenance update A new stable release 9.1.3 has been deployed. It is marked with stable tag.
Maintenance update A new stable release 9.1.2 has been deployed.
Maintenance update A new stable release 9.1.1 has been deployed.
Release A new stable release 9.1.0 has been deployed.
Release Python 3.12.3 final release is available.
Release Python 3.11.9 final release is available.
Release Pywikibot 9 has been deployed. With Pywikibot 9 a lot of deprecations has been dropped. Pywikibot does not support Python 3.6 any longer (T347026)
Release Python 3.12.2 and 3.11.8 final releases are available.
Release Python 3.11.7 final release is available.
Release Python 3.12.1 final release is available.
Release A new stable release 8.6 has been deployed. This is the last release supporting Python 3.6.