Skip to main content

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.

Metadata

Release files for hiws 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hiws 0.9.0
File Size Uploaded Provenance Actions
hiws-0.9.0.tar.gz 16.2 kB With provenance Details for hiws-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hiws 0.9.0
File Interpreter ABI Platform Actions
hiws-0.9.0-py3-none-any.whl Python 3 none any Details for hiws-0.9.0-py3-none-any.whl

Total release size: 29.8 kB

Release files / hiws-0.9.0.tar.gz

Download URL hiws-0.9.0.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6b52683cbb6bb74b2b5a7ffa3c00bb311f3ffed3db81d53eb35bd04f2b7462c3
BLAKE2b-256 checksum
How to use checksums
fd4e0bc3a2bc5c0377d7442b3bab0b2b3bbe820d8018e6eddbf1bbf96f706d55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Release files / hiws-0.9.0-py3-none-any.whl

Download URL hiws-0.9.0-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1be8e889ca6f5cd93222de75aa1a13c60924c1776d56a9c0a2e0d09a33e9873
BLAKE2b-256 checksum
How to use checksums
9a2cbc0a9b2f67d94c3032bf02e0d432abe96961f53e9e77f8f5a50cb0281ad2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Security for hiws 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hiws-0.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page