whatsapp-cloud-api-py 0.2.0__py3-none-any.whl → 0.2.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: whatsapp-cloud-api-py
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Async Python SDK for WhatsApp Business Cloud API with Pydantic V2
5
5
  Project-URL: Homepage, https://github.com/HeiCg/whatsapp-cloud-api-py
6
6
  Project-URL: Repository, https://github.com/HeiCg/whatsapp-cloud-api-py
@@ -62,13 +62,22 @@ See the [Kapso docs](https://docs.kapso.ai/docs/introduction) for detailed setup
62
62
  uv add whatsapp-cloud-api-py
63
63
  ```
64
64
 
65
- With extras:
65
+ ### Extras
66
+
67
+ The base package only requires `httpx` and `pydantic`. Optional extras add functionality as needed:
68
+
69
+ | Extra | Installs | What it enables |
70
+ |---|---|---|
71
+ | `events` | [pyventus](https://pypi.org/project/pyventus/) | Event-driven webhooks — typed event classes (`TextReceived`, `ImageReceived`, etc.) and `dispatch_webhook()` to emit events via pyventus instead of manually parsing payloads |
72
+ | `webhooks` | [starlette](https://pypi.org/project/starlette/) | Starlette integration for webhook endpoints — use `FastAPIEventEmitter` to run event handlers as background tasks |
73
+ | `server` | [cryptography](https://pypi.org/project/cryptography/) | Cryptographic utilities for server-side features like webhook signature verification with HMAC-SHA256 |
66
74
 
67
75
  ```bash
68
- # Event-driven webhooks (pyventus)
76
+ # Pick what you need
69
77
  uv add "whatsapp-cloud-api-py[events]"
78
+ uv add "whatsapp-cloud-api-py[events,webhooks]"
70
79
 
71
- # All extras
80
+ # Everything
72
81
  uv add "whatsapp-cloud-api-py[events,webhooks,server]"
73
82
  ```
74
83
 
@@ -23,7 +23,7 @@ whatsapp_cloud_api/utils/case.py,sha256=Vu2LH15ZuCKqfXZdRn1fPk-ctmQgSaqC3_wz4kwD
23
23
  whatsapp_cloud_api/webhooks/__init__.py,sha256=wKf4IE-exZXQ_xUwhkf4J54e7-EGOkvoASmp2Uv5sM0,131
24
24
  whatsapp_cloud_api/webhooks/normalize.py,sha256=8tTAmGRvzZ15AmuWXBphOlmoomM86e3SfVpKJKqATmY,2633
25
25
  whatsapp_cloud_api/webhooks/verify.py,sha256=DAA2vHtm2vB9AthDZrER6b3jZTU31CaDVUnnvRvOKg0,1033
26
- whatsapp_cloud_api_py-0.2.0.dist-info/METADATA,sha256=Xv2-P9pHAKwljtYwr5hhowwYRG0KfnNGKQ1iEkz--38,19280
27
- whatsapp_cloud_api_py-0.2.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
28
- whatsapp_cloud_api_py-0.2.0.dist-info/licenses/LICENSE,sha256=x8Z_8RMIgoi1dz7Wl4v_0OdmLI-EHdc3kJtE4PbaFT4,1062
29
- whatsapp_cloud_api_py-0.2.0.dist-info/RECORD,,
26
+ whatsapp_cloud_api_py-0.2.2.dist-info/METADATA,sha256=nzSnW1V511U1RCR7hVqJ1vry3BkSDBHmvkgAjUrMkuE,20065
27
+ whatsapp_cloud_api_py-0.2.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
28
+ whatsapp_cloud_api_py-0.2.2.dist-info/licenses/LICENSE,sha256=x8Z_8RMIgoi1dz7Wl4v_0OdmLI-EHdc3kJtE4PbaFT4,1062
29
+ whatsapp_cloud_api_py-0.2.2.dist-info/RECORD,,