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.3.tar.gz (20.9 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.3-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: waclient-0.1.3.tar.gz
  • Upload date:
  • Size: 20.9 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.3.tar.gz
Algorithm Hash digest
SHA256 cd55806345e6187aa1550a32dbbd43b96237092f9151a7cea146a503e152738e
MD5 625c50ad25f0cf33a7086e0414d98310
BLAKE2b-256 7c188dd318d05f27a4536e8f47dfac91ab685c8869f49310b67e7d624b117c63

See more details on using hashes here.

Provenance

The following attestation bundles were made for waclient-0.1.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: waclient-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 22.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1ce63709d8c17dc31fa6e06d27ccf9a87dd4428ea0f203fea794e7c092f64e54
MD5 28f1f1e2548276be7a1a1b9ebb5a91b5
BLAKE2b-256 8007b477eb30db0b6c3d9ccb0f74373d3409ac788a283671c2f5ecabb17833e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for waclient-0.1.3-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