Skip to main content

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.

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)

Source distribution for whatsfly 0.0.231
File Size Uploaded
whatsfly-0.0.231.tar.gz 41.8 MB Details

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

Release history Release notifications | RSS feed

This release

0.0.231 This release

1 release file

0.0.22

1 release file

0.0.21

1 release file

0.0.2

1 release file

0.0.1

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page