מדריך:Pywikibot/סקירה כללית

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:Pywikibot/Overview and the translation is 17% complete.
Other languages:
Bahasa Indonesia • ‎Bân-lâm-gú • ‎Deutsch • ‎English • ‎asturianu • ‎català • ‎español • ‎français • ‎italiano • ‎polski • ‎português do Brasil • ‎čeština • ‎Ελληνικά • ‎български • ‎русский • ‎українська • ‎עברית • ‎العربية • ‎فارسی • ‎ไทย • ‎中文 • ‎日本語 • ‎한국어

Pywikibot היא ספריית פייתון ואוסף של סקריפטים המאפשרים עבודה אוטומטית באתרי מדיה־ויקי. היא נוצרה במקור עבור ויקיפדיה, אך כיום נעשה בה שימוש בכל מיזמי קרן ויקימדיה וכן באתרים ויקי רבים נוספים.

הפרויקט החל בשנת 2002, והוא נמצא כעת בגרסת הליבה 3.0. It features full API usage and is up-to-date with new MediaWiki features and a Pythonic package layout. But it also works with older installations of MediaWiki 1.19 or higher.

Pywikibot supports Microsoft Windows, macOS and Linux when used with a compatible version of Python. It should also work on any other operating system that has a compatible version of Python installed. To check whether you have Python installed and to find its version, just type "python" at the CMD or shell prompt.

Python 3.5 or higher is currently required to run the bot, but Python 3.6 or higher is recommended.

Components

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 Manual:Pywikibot/Scripts .

License

Here you can view the LICENSE files for Pywikibot.

Other licenses