Skip to main content

A wrapper for WhatsApp's Cloud API

Project description

hiws

A Python package for interacting with WhatsApp's Cloud API.

Installation

pip install hiws

Usage

from hiws import WhatsAppMessenger

messenger = WhatsAppMessenger(access_token="YOUR_ACCESS_TOKEN", phone_number_id="YOUR_PHONE_NUMBER_ID")

# Example usage
message_id = await messenger.send_text(recipient_phone_number="1234567890", text="Hello, World!")

print(message_id)

Development

To install in development mode:

git clone https://github.com/cervant-ai/hiws.git
cd hiws
pip install -e .

To install development dependencies:

pip install -e ".[dev]"

Testing

pytest
pip install -e ".[dev]"

Testing

pytest

License

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

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

hiws-0.5.2.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

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

hiws-0.5.2-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file hiws-0.5.2.tar.gz.

File metadata

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

File hashes

Hashes for hiws-0.5.2.tar.gz
Algorithm Hash digest
SHA256 2fd59aa06fa0a667d5da8e65ceabf5ae502ba96fa6e4a58e3cd680c853697012
MD5 b13674929265ad8a648ac6f0226df9f1
BLAKE2b-256 3d5251583acfc1442c4049436438e889f6225c233bf437b39b5f322c696beb07

See more details on using hashes here.

Provenance

The following attestation bundles were made for hiws-0.5.2.tar.gz:

Publisher: ci-cd.yml on cervant-ai/hiws

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

File details

Details for the file hiws-0.5.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for hiws-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3a7fe2e39c9bde3cf664437b7fa3964608ce33f59c8c011fa93483c2a85b6e0c
MD5 e7468d73fb94c9c8da0cc412a0449a23
BLAKE2b-256 2313183f61b75061892535cbb7a905ef6f9794112eb3de419248393fbe77d493

See more details on using hashes here.

Provenance

The following attestation bundles were made for hiws-0.5.2-py3-none-any.whl:

Publisher: ci-cd.yml on cervant-ai/hiws

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