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
- What is Pywikibot?
- Learn how to install and configure Pywikibot
- Discover existing scripts for Pywikibot
Writing a bot
- Learn how to write a basic script
- Discover the docs at wikimedia.org
- Learn how to interact with Wikidata
Developing Pywikibot
- Learn how to contribute to Pywikibot
- Discover the source code on Gerrit (GitHub mirror, Diffusion mirror, Codesearch tool)
- List bugs for Pywikibot
- Learn how to translate Pywikibot
Get help
- Use the #pywikibot IRC channel connect for quick questions
- Sign up to the main mailing list for asking complex questions or sharing information
- Get more help on other support channels
- Python 2 to Python 3 migration support
- Pywikibot compat to core migration support
See also
- Pywikibot compatibility with Python and MediaWiki
- Help:Creating a bot
- mwparserfromhell (wikicode parser written in Python)
- Other Python bots
News
- Pywikibot 7 has been deployed. It is marked with
stable
tag. - Note: With Pywikibot 7 most deprecations will be dropped. Pywikibot does not support Python 3.5.0 - 3.5.2 any longer (T286867)
- A new stable release 6.6.5 has been deployed.
- A new stable release 6.6.4 has been deployed.
- Python 3.10.2 and 3.9.10 final releases are available.
- Note: Python 3.6 has reached its end-of-life phase after five years.
- Python 3.10.1 final release is available.
- A new stable release 6.6.3 has been deployed.
- A new stable release 6.6.2 has been deployed.
- Python 3.10.0 final release is available.
- A new stable release 6.6.1 has been deployed.
- A new stable release 6.6.0 has been deployed.