Build advanced WhatsApp chatbots with wa-automate-python, a Python library for founders, with 425 GitHub stars.
425 stars87 forksPythonQuality 9/10Updated 3/28/2022100% free · open source
What it does
Wa-automate-python is a Python library that allows you to build advanced WhatsApp chatbots with features like automated messaging and media sharing.
Install / run
pip install wa-automate-python
When to use it
•When you need to automate WhatsApp messaging for customer support
•When building a chatbot that requires advanced features like media sharing and group management
•When you want to integrate WhatsApp with your existing Python applications
Quick start
1Clone the repository using `git clone https://github.com/open-wa/wa-automate-python.git`
2Create a new instance of the WhatsApp client using `client = Client()`
3Use the `client.send_message()` method to send a message to a WhatsApp contact, like `client.send_message('Hello, world!', '+1234567890')`
4Use the `client.get_chat()` method to retrieve a chat and its messages, like `client.get_chat('+1234567890')`
5Handle incoming messages using the `client.on_message()` event, like `client.on_message(callback=handle_message)`
Ready-to-paste prompt
client.send_message('Hello, how can I assist you today?', '+1234567890')
Heads up: You need to have a WhatsApp account and a phone connected to the same network as your server to use wa-automate-python, as it uses a physical phone to authenticate and send messages
Saves to your device
What's inside — free to inspect
No purchase needed
Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.
13
top-level files
2
folders
1.1M
repo size
Other
license
Key files
README.md
requirements.txt
File tree
sample/
src/
.gitignore
docker-compose.yml
docker-entrypoint.sh
Dockerfile
ISSUE_TEMPLATE.md
LICENSE.txt
Makefile
MANIFEST.in
pylint.rc
README.md
release
requirements.txt
setup.py
Quick Actions
Details
Creator
open-wa
Language
Python
Category
support
Published
4/10/2020
Are you the creator of this tool? Claim your listing → and earn 85% of every sale.