Jump to content

Handbuch:Pywikibot/Übersicht

From mediawiki.org
This page is a translated version of the page Manual:Pywikibot/Overview and the translation is 37% complete.
Outdated translations are marked like this.

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

Das Projekt wurde 2003 gestartet und befindet sich gerade in der Kernversion 9.5.0. It features full API usage and is up-to-date with new MediaWiki features and a Pythonic package layout. Aber es läuft auch mit älteren Installationen von MediaWiki 1.27 oder besser.

Pywikibot unterstützt Microsoft Windows, macOS und Linux, wenn es mit einer kompatiblen Version von Python verwendet wird. It should also work on any other operating system that has a compatible version of Python installed. Um zu prüfen, ob und welche Version von Python Sie installiert haben, schreiben Sie einfach "python" in die Shell-Eingabeaufforderung.

Python 3.7 or higher is currently required to run the bot, but Python 3.8 or higher is recommended.

Python can be downloaded here.

Download

$ python -m pip install pywikibot

For more information, see Handbuch:Pywikibot/Installation .

Bestandteile

Two master folders are present in the library archive:

  • pywikibot contains all the master files, that will interact with MediaWiki websites.

It's the master part of the library: they're used when you load PWB in your own Python scripts and when you launch plug-and-play tools.

  • scripts contains already written, known and proven scripts.

They are ready to be used. See the list and docs for each one in Handbuch:Pywikibot/Skripte .

See also

Lizenz

Hier kannst du die LICENSE-Dateien für Pywikibot ansehen.