Skip to main content

PyWassap is a python library for sending WhatsApp messages using the WhatsApp Business API.

Project description

pywassap

A simple asynchronous Python library for WhatsApp Web.

Test Coverage


Documentation: https://pywassap.netlify.app

Source Code: https://github.com/Aarif1430/pywassap


PyWassap is a python library for sending WhatsApp messages using the WhatsApp Business API. It is a wrapper around the WhatsApp Business API. The library is built on top of the aiohttp library for asynchronous HTTP requests.

PyWassap supports the following features:

1. Send WhatsApp messages - Send WhatsApp messages to a single or multiple recipients.

from pywassap import PyWassap

client = WhatsApp(number, token)
client.send_message(
    message="Hello World",
    recipient_id="919999999999"
    recipient_type="individual"
)

2. Send WhatsApp messages to multiple recipients - Send WhatsApp messages to multiple recipients.

from pywassap import WhatsApp

client = WhatsApp(number, token)
client.send_message(
    message="Hello World",
    recipient_id=["919999999999", "919999999998"]
    recipient_type="individual"
)

Requirements

For development, the following requirements are needed:

python
aiohttp

Installation

$ pip install pywassap
---> 100%
Successfully installed pywassap

License

This project is licensed under the terms of the MIT license.

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

PyWassap-0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distributions

pywassap-0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

PyWassap-0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file PyWassap-0.tar.gz.

File metadata

  • Download URL: PyWassap-0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.5.0

File hashes

Hashes for PyWassap-0.tar.gz
Algorithm Hash digest
SHA256 c696f85f90a17cd33239367acf8a22ef2f14f6f16ca715ba35a8ad4cbf60116f
MD5 79af5b72291c86cc41949f29640ebcbe
BLAKE2b-256 64f5ba4267bcc6f4fd233e4e90ca8052f9fcf611896f5ac9fbd882b6b1f637e3

See more details on using hashes here.

File details

Details for the file pywassap-0-py3-none-any.whl.

File metadata

  • Download URL: pywassap-0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0a2 CPython/3.11.0 Linux/5.15.0-1022-azure

File hashes

Hashes for pywassap-0-py3-none-any.whl
Algorithm Hash digest
SHA256 0fdf052938bd4b4ad65299fc66ae3ff4f847851836c2b8ad167909816ea444d8
MD5 9e406774157039184d0a0b241d331fab
BLAKE2b-256 34eb282e850542ad61b8ac5cb7519c2b7045c44a8a9f5aff32a0bd23d3da12c4

See more details on using hashes here.

File details

Details for the file PyWassap-0-py3-none-any.whl.

File metadata

  • Download URL: PyWassap-0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.5.0

File hashes

Hashes for PyWassap-0-py3-none-any.whl
Algorithm Hash digest
SHA256 77612ef3c4187c4d02ab41b62ab7e2ef016786b7fe4f39a7aa039be2ea000747
MD5 0d346b90374a9c8ce063484edb859cae
BLAKE2b-256 a42e3e3a4e6fc1625c1338f9b359073b534626f5362869156af74dfeef5c1f5f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page