Skip to main content

An unofficial WhatsApp automation library

Project description

Supbot2

Discord Chat Donations Badge GitHub stars

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).

Usage

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

supbot-0.2.9.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

supbot-0.2.9-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file supbot-0.2.9.tar.gz.

File metadata

  • Download URL: supbot-0.2.9.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.4

File hashes

Hashes for supbot-0.2.9.tar.gz
Algorithm Hash digest
SHA256 329b8aace33dc7619649fb390691eb07056a3f06091dca7b8dbf317421618abe
MD5 686ec5dcd08a1685f493fcb17419126b
BLAKE2b-256 f1fed6b8552e0543caecc4f495a1d426ddf38945f1b11efd3aad29b5502661a9

See more details on using hashes here.

File details

Details for the file supbot-0.2.9-py3-none-any.whl.

File metadata

  • Download URL: supbot-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.4

File hashes

Hashes for supbot-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b78eb9aff0782389c953c2d3e61b6d151c03169abea3c1f5849556ae04044113
MD5 a007738cbadcf685428defedb62f7445
BLAKE2b-256 8f8a3525f45ae517369a59b37f1243b842b3d7c554026359f16ff43f29f78ffa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page