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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hiws-0.6.1.tar.gz.
File metadata
- Download URL: hiws-0.6.1.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb53c7c3f649fe9f7c8c911af69ec49e569cdacc7fcfb773b36d3a4e2ddf77c3
|
|
| MD5 |
09352162c0a01ea0393ebd96e27a4dde
|
|
| BLAKE2b-256 |
f91d60a9f708f6d116e52ddd860e0ee2c566d2c43e467e98d15cb702d6be4811
|
Provenance
The following attestation bundles were made for hiws-0.6.1.tar.gz:
Publisher:
ci-cd.yml on cervant-ai/hiws
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hiws-0.6.1.tar.gz -
Subject digest:
cb53c7c3f649fe9f7c8c911af69ec49e569cdacc7fcfb773b36d3a4e2ddf77c3 - Sigstore transparency entry: 2060973965
- Sigstore integration time:
-
Permalink:
cervant-ai/hiws@63f1363280bdfd0ce74a5ace8468f730751a9c52 -
Branch / Tag:
refs/tags/v0.6.1 - Owner: https://github.com/cervant-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@63f1363280bdfd0ce74a5ace8468f730751a9c52 -
Trigger Event:
push
-
Statement type:
File details
Details for the file hiws-0.6.1-py3-none-any.whl.
File metadata
- Download URL: hiws-0.6.1-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82085649a728d5d3bd3b815bf7b86ce522f8528c1b50220088eddc044ec95437
|
|
| MD5 |
8b9d0498682b0d12f21f570954ef12c0
|
|
| BLAKE2b-256 |
4539f69c1238060d4fdc51f22c470613677ef8893ca38ffba6a8caf1d505ef68
|
Provenance
The following attestation bundles were made for hiws-0.6.1-py3-none-any.whl:
Publisher:
ci-cd.yml on cervant-ai/hiws
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hiws-0.6.1-py3-none-any.whl -
Subject digest:
82085649a728d5d3bd3b815bf7b86ce522f8528c1b50220088eddc044ec95437 - Sigstore transparency entry: 2060974657
- Sigstore integration time:
-
Permalink:
cervant-ai/hiws@63f1363280bdfd0ce74a5ace8468f730751a9c52 -
Branch / Tag:
refs/tags/v0.6.1 - Owner: https://github.com/cervant-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@63f1363280bdfd0ce74a5ace8468f730751a9c52 -
Trigger Event:
push
-
Statement type: