Manual:Pywikibot



 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.

  Running a bot


 * Learn how to  Pywikibot

 Writing a bot
 * Discover  for Pywikibot


 * Learn how to 


 * Discover the [https://doc.wikimedia.org/pywikibot/ docs at wikimedia.org]

 Developing Pywikibot
 * Learn how to 


 * Learn how to  to Pywikibot


 * Discover the [https://gerrit.wikimedia.org/g/pywikibot/core source code on Gerrit] ([https://github.com/wikimedia/pywikibot GitHub mirror], diffusion>phab:diffusion/PWBC/|Diffusion mirror, [https://codesearch.wmflabs.org/pywikibot/ Codesearch tool])


 * List phab>phab:project/view/87/|bugs for Pywikibot


 * Learn how to twn>translatewiki:Translating:Pywikibot</>|translate Pywikibot

<div id="misc-news" class="mainpage_row"> <div class="mainpage_box"> Get help


 * Use the for quick questions


 * Sign up to the mail>mail:pywikibot</>|main mailing list for asking complex questions or sharing information

<div class="mainpage_box"> See also
 * Get more help on
 *  Python 2 to Python 3 migration support 




 * Help:Creating a bot
 * mwparserfromhell (wikicode parser written in Python)

<div class="mainpage_box"> News
 * 2020-02-19
 * Python 3.9.2 final and Python <tvar|1>3.8.8</> final were released.


 * 2021-01-24
 * A new stable release <tvar|1>5.6.0</> has been deployed.  It is marked with <tvar|1> </> tag.
 * This is the last release supporting MediaWiki <tvar|1>1.19―1.22</>.


 * 2021-01-12
 * A new stable release <tvar|1>5.5.0</> has been deployed. It is marked with <tvar|1> </> tag.


 * 2021-01-02
 * A new stable release <tvar|1>5.4.0</> has been deployed.


 * 2020-09-13
 * Python <tvar|1>3.5</> has reached its end of life.