WhatsApp on the fly.
Project description
WhatsFly
Just run and have fun. Just try and go fly.
WhatsApp web wrapper in Python. No selenium nor gecko web driver needed.
Setting up browser driver are tricky for python newcomers, and thus it makes your code so 'laggy'.
I knew that feeling. It's so painful.
So I make WhatsFly, implementing Whatsmeow --a golang based WhatsApp library. It will make his wrapper easy to use without sacrificing the speed and perfomance.
Installation
pip install whatsfly
or :
pip install --upgrade whatsfly
Usage/Examples
from whatsfly import WhatsApp
chat = WhatsApp()
# send mesage
chat.send_message(phone="6283139750000", message="Hello World!")
# send image
chat.send_image(phone="6283139750000", image_path="path/to/image.jpg" caption="Hello World!")
Features
Feature | Status |
---|---|
Multi Device | ✅ |
Send messages | ✅ |
Receive messages | ✅ |
Send image | ✅ |
Send media (audio/documents) | soon! |
Send media (video) | soon! |
Send stickers | soon! |
Receive media (images/audio/video/documents) | ✅ |
Send contact cards | soon! |
Send location | soon! |
Send buttons | soon! |
Send lists | soon! |
Receive location | soon! |
Message replies | soon! |
Join groups by invite | soon! |
Get invite for group | soon! |
Modify group info (subject, description) | soon! |
Modify group settings (send messages, edit info) | soon! |
Add group participants | soon! |
Kick group participants | soon! |
Promote/demote group participants | soon! |
Mention users | soon! |
Mute/unmute chats | soon! |
Block/unblock contacts | soon! |
Get contact info | soon! |
Get profile pictures | soon! |
Set user status message | soon! |
React to messages | soon! |
Something missing? Make an issue and let us know!
Supported machines
Architecture | Status |
---|---|
Linux amd64 | ✅ |
Linux ARM64 | ✅ |
Linux 686 | ✅ |
Linux 386 | ✅ |
Windows amd64 | ✅ |
Windows 32 bit | soon! |
OSX arm64 | soon! |
OSX amd64 | soon! |
Support this Project
This project is maintained during my free time. If you'd like to support my work, please consider making a pull request to help fix any issues with the code. I would like to extend my gratitude to the open-source developers behind tls-client, tiktoken, and whatsmeow. Their work has inspired me greatly and helped me to create this project.
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
File details
Details for the file whatsfly-0.0.231.tar.gz
.
File metadata
- Download URL: whatsfly-0.0.231.tar.gz
- Upload date:
- Size: 41.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 171d47e95bac801896ccab9dd781b8f95cbebfa24553b62ad5bd2c865d289446 |
|
MD5 | 28cda7269b36601bdb3eb4aab23b562b |
|
BLAKE2b-256 | df92db951ecf159f95c275f9a901c00cb8fb37036f3affc5f0bf630b9a5ce05f |