Manual:ไพวิกิบอต/เกี่ยวกับ
![]() |
คู่มือ:ไพวิกิบอต |
---|
|
ไพวิกิบอต (pywikibot) คือไลบรารีและการรวบรวมเครื่องมือสำหรับภาษาไพทอน ซึ่งทำงานอัตโนมัติบนเว็บไซต์ที่ใช้มีเดียวิกิ โดยแรกเริ่มถูกออกแบบขึ้นเพื่อใช้กับวิกิพีเดีย ปัจจุบันใช้ได้กับโครงการต่าง ๆ ของมูลนิธิวิกิมีเดียทั้งหมด และวิกิอื่น ๆ อีกมากมายที่ใช้มีเดียวิกิ
โครงการเริ่มขึ้นเมื่อ 2002 แบะเวอร์ชั่นปัจจุบันคือ 6.0.1. มันมีการใช้งาน API เต็มรูปแบบและเป็นปัจจุบันด้วยคุณสมบัติ MediaWiki ใหม่และรูปแบบแพคเกจ Pythonic แต่มันจะทำงานกับรุ่นติดตั้ง MediaWiki 1.23 หรือสูงกว่า
ไพวิกืบอต รองรับระบบปฏิบัติการth:w:ไมโครซอฟท์ วินโดวส์ th:w:OS X และ th:w:ลินุกซ์ ควรทำงานกับระบบปฏิบัติการอื่นที่ติดตั้ง Python เวอร์ชันที่เข้ากันได้ ในการตรวจสอบว่าคุณติดตั้ง Python แล้วและเพื่อค้นหารุ่นให้พิมพ์ "python" ที่ CMD หรือ 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
- pywikibot/userinterfaces/win32_unicode.py is based on code that is CC BY-SA 3.0.