An unofficial WhatsApp automation library
Simplest WhatsApp automation Library for Python
Supbot2 is an unofficial WhatsApp automation library written in Python which can be used to create bots. Supbot2 uses Appium to automate WhatsApp application on your android device/emulator, and perform various actions (like sending message), and also trigger events (like receiving message).
Following code resends the message received from a contact (in just 5 LOC!).
from supbot import Supbot def repeat_message(contact_name, message): supbot.send_message(contact_name, message) with Supbot(message_received=repeat_message) as supbot: supbot.wait_for_finish()
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size supbot-0.0.2-py3-none-any.whl (11.8 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size supbot-0.0.2.tar.gz (15.6 kB)||File type Source||Python version None||Upload date||Hashes View hashes|