1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
WPP_Whatsapp
WPP_Whatsapp aim of exporting functions from WhatsApp Web to the python, which can be used to support the creation of
any interaction, such as customer service, media sending, intelligence recognition based on phrases artificial and many
other things, use your imagination
WPP_Whatsapp > WPPConnect Converted to python, so Documentation is same
Online channels
Functions
| Automatic QR Refresh | ✔ |
| Send text, image, video, audio and docs | ✔ |
| Get contacts, chats, groups, group members, Block List | ✔ |
| Send contacts | ✔ |
| Send stickers | ✔ |
| Send stickers GIF | ✔ |
| Multiple Sessions | ✔ |
| Forward Messages | ✔ |
| Receive message | ✔ |
| insert user section | ✔ |
| Send location | ✔ |
| and much more | ✔ |
See more at WhatsApp methods
Getting Started
Installation
installed with pip:
pip install WPP_Whatsapp -U
Alternatively, you can grab the latest source code from GitHub:
pip install git+https://github.com/3mora2/WPP_Whatsapp
Send Text
from WPP_Whatsapp import Create
# start client with your session name
your_session_name = "test"
creator = Create(session=your_session_name)
client = creator.start()
# Now scan Whatsapp Qrcode in browser
# check state of login
if creator.state != 'CONNECTED':
raise Exception(creator.state)
phone_number = "*********" # or "+*********"
message = "hello from wpp"
# Simple message
result = client.sendText(phone_number, message)
Receive Messages(Auto Replay)
from WPP_Whatsapp import Create
# start client with your session name
your_session_name = "test"
creator = Create(session=your_session_name)
client = creator.start()
# Now scan Whatsapp Qrcode in browser
# check state of login
if creator.state != 'CONNECTED':
raise Exception(creator.state)
def new_message(message):
global client
# Add your Code here
if message and not message.get("isGroupMsg"):
chat_id = message.get("from")
message_id = message.get("id")
if "السلام عليكم" in message.get("body"):
client.reply(chat_id, "وعليكم السلام", message_id)
else:
client.reply(chat_id, "Welcome", message_id)
# Add Listen To New Message
creator.client.onMessage(new_message)
For More Examples
Metadata
Release files for WPP-Whatsapp 0.4.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wpp_whatsapp-0.4.8.1.tar.gz | 93.6 kB | Without provenance | Details for wpp_whatsapp-0.4.8.1.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wpp_whatsapp-0.4.8.1-py3-none-any.whl | Python 3 | none | any | Details for wpp_whatsapp-0.4.8.1-py3-none-any.whl |
| WPP_Whatsapp-0.4.8.1-py3-none-any.whl | Python 3 | none | any | Details for WPP_Whatsapp-0.4.8.1-py3-none-any.whl |
Total release size: 294.0 kB
Release files / wpp_whatsapp-0.4.8.1.tar.gz
| Download URL | wpp_whatsapp-0.4.8.1.tar.gz |
|---|---|
| Size | 93.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71bdfa79c837cacb56bb414344b77b6c30b3079b39d1f5c8d53ff5533503497b
|
|
BLAKE2b-256 checksum How to use checksums |
d6fab40ce65806b39573cbe393b09599d07fb6949d4979370cd8b124525e1358
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / wpp_whatsapp-0.4.8.1-py3-none-any.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | wpp_whatsapp-0.4.8.1-py3-none-any.whl |
|---|---|
| Size | 100.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bcfec4e56160e787c6b1fbf1f7ff39cb07c9979a059af0692559fff83a041ed7
|
|
BLAKE2b-256 checksum How to use checksums |
3dcc67fba3b62a6de4754e4fc06be657d031ffc915376e6ee7feea5e30334384
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / WPP_Whatsapp-0.4.8.1-py3-none-any.whl
| Download URL | WPP_Whatsapp-0.4.8.1-py3-none-any.whl |
|---|---|
| Size | 100.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd9924186d2f42dbfe4f85a0ac8e3929ad829d7c73eaf1f83af01a9cded6b262
|
|
BLAKE2b-256 checksum How to use checksums |
d0345b793f133785f046d91d8d6e64233c0461ffd67022057076b88a1e71394e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for WPP-Whatsapp 0.4.8.1
Upload timing
Release file added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
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.