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.2.0.tar.gz (9.2 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.2.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hiws-0.2.0.tar.gz
Algorithm Hash digest
SHA256 31c6f4a27963632830bfbc66e7978237345d1114c015f9579429c54c8c9d22d0
MD5 e71fbc902540e653775e936f27f7b7fe
BLAKE2b-256 9b57dd64f52a3f603b57e4609462e30aecd74636e9ed5422fe90805d6b66ebce

See more details on using hashes here.

Provenance

The following attestation bundles were made for hiws-0.2.0.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: hiws-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c17dcc48a697e16847abab69f1d83feae34ac20e162e16ff04e4aefc5221152a
MD5 ff2ea4e3865420ea31c7b776589517b4
BLAKE2b-256 69241b5b3cb1eab408c7f927ab0ff5e419399c5f145260db5f177970a7d6c981

See more details on using hashes here.

Provenance

The following attestation bundles were made for hiws-0.2.0-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