Skip to main content

Whatsappy is a Python library for creating whatsapp bots.

Project description

whatsappy

Whatsappy is a Python library for creating whatsapp bots.

Creator: Italo Seara

Installation

Use the package manager pip to install whatsappy.

pip install whatsappy-py

Usage

from whatsappy import whatsapp

whatsapp.login(visible=False) # Login whatsapp (Headless mode)

whatsapp.select_chat('Mom') # Goes to the selected chat
whatsapp.send('Hello') # Send a message

whatsapp.close() # Exit

You can find more examples HERE

Supported features

Feature Status
Send messages ✅
Receive messages ✅
Verify new messages ✅
Send media (images/audio/documents) ✅
Send media (video) ✅
Send stickers pending
Receive media (images/audio/video/documents) ✅
Send contact cards pending
Send location pending
Receive contact cards ✅
Receive location ✅
Message replies ✅
Join groups by invite pending
Get invite for group ✅
Modify group info (subject, description) ✅
Modify group settings (send messages, edit info) ✅
Add group participants ✅
Kick group participants ✅
Promote group participants ✅
Demote group participants pending
Mention users ✅
Mute/unmute chats pending
Block/unblock contacts pending
Get contact info pending
Get profile pictures pending
Set user status message pending

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Project details


Download files

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

Files for whatsappy-py, version 2.3.1
Filename, size File type Python version Upload date Hashes
Filename, size whatsappy-py-2.3.1.tar.gz (13.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page