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.
Metadata
Release files for whatsfly 0.0.231
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| whatsfly-0.0.231.tar.gz | 41.8 MB | Without provenance | Details for whatsfly-0.0.231.tar.gz |
Release files / whatsfly-0.0.231.tar.gz
| Download URL | whatsfly-0.0.231.tar.gz |
|---|---|
| Size | 41.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
171d47e95bac801896ccab9dd781b8f95cbebfa24553b62ad5bd2c865d289446
|
|
BLAKE2b-256 checksum How to use checksums |
df92db951ecf159f95c275f9a901c00cb8fb37036f3affc5f0bf630b9a5ce05f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for whatsfly 0.0.231
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.