Skip to main content

Simplified Python SDK for WhatsApp Business Cloud API

Project description

WhatsApp Biz

Simplified Python SDK for WhatsApp Business Cloud API

PyPI version License: MIT Python Versions

waclient is a clean, easy-to-use Python wrapper for the WhatsApp Business Cloud API. It handles authentication, message composition (text, media, interactive), and media management, allowing you to build WhatsApp bots and integrations quickly.

Features

  • Easy Authentication: Simple client initialization.
  • Rich Messaging: Send Text, Image, Video, Audio, Document, Sticker, Location, and Contact messages.
  • Interactive Elements: Support for Reply Buttons and List Messages.
  • Templates: Full support for WhatsApp Template Messages.
  • Media Handling: Upload and retrieve media easily.

Installation

pip install waclient

Quick Start

from waclient import WhatsAppClient

client = WhatsAppClient(
    phone_number_id="YOUR_PHONE_ID",
    access_token="YOUR_ACCESS_TOKEN"
)

client.messages.send_text(to="15551234567", body="Hello form WhatsApp Biz!")

Documentation

  • User Manual: Detailed verification of all features, code examples, and configuration.
  • Developer Guide: Setup for contributors, running tests, and project structure.

Examples

Check the examples/ directory for ready-to-run scripts:

  • examples/verify_features.py: comprehensive tour of features.
  • examples/verify_delivery.py: delivery status verification.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Surenthar
Email: surentharsenthilkumar2003@gmail.com

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

waclient-0.1.7.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

waclient-0.1.7-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file waclient-0.1.7.tar.gz.

File metadata

  • Download URL: waclient-0.1.7.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for waclient-0.1.7.tar.gz
Algorithm Hash digest
SHA256 063a4c0507e7545b8ccbab6ed9ec36ccfd95332212e77b3012968f96baa3bb2c
MD5 410db5bc3129c63fee45e5e46fd17394
BLAKE2b-256 39c76b24c71de1ff95c7d5fffb211e2c0fe94ffa51d3f415a15ed2bbb8e25030

See more details on using hashes here.

Provenance

The following attestation bundles were made for waclient-0.1.7.tar.gz:

Publisher: workflow.yml on surenthars/waclient

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file waclient-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: waclient-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for waclient-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 931392384b3cace00eded311e0bfb25ba9c2418ff68dbe769cfeb3e29e14e8b5
MD5 949850fcdaf10897abd0b5bd43675348
BLAKE2b-256 5bb9a86f016679a3f2c6ef33ddd1caa3e6f0f7a4f014e654b386d4bae71358b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for waclient-0.1.7-py3-none-any.whl:

Publisher: workflow.yml on surenthars/waclient

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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