wibechat 0.1.0__tar.gz

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.
@@ -0,0 +1,48 @@
1
+ Metadata-Version: 2.5
2
+ Name: wibechat
3
+ Version: 0.1.0
4
+ Summary: Wibechat Python SDK — token generation for Wibechat calling
5
+ Project-URL: Homepage, https://wibechat.com
6
+ Project-URL: Documentation, https://wibechat.com/developers
7
+ License-Expression: MIT
8
+ Requires-Python: >=3.10
9
+ Requires-Dist: livekit-api>=0.8.0
10
+ Description-Content-Type: text/markdown
11
+
12
+ # Wibechat Python SDK
13
+
14
+ Token generation for Wibechat calling, built on [LiveKit](https://livekit.io/).
15
+
16
+ ## Installation
17
+
18
+ ```bash
19
+ pip install wibechat
20
+ ```
21
+
22
+ ## Quick Start
23
+
24
+ ```python
25
+ import os
26
+ from datetime import timedelta
27
+ from wibechat import AccessToken, RoomGrants
28
+
29
+ token = (
30
+ AccessToken(os.environ["WIBECHAT_API_KEY"], os.environ["WIBECHAT_API_SECRET"])
31
+ .with_identity("user-123")
32
+ .with_name("Alice")
33
+ .with_ttl(timedelta(hours=1))
34
+ .with_grants(RoomGrants(room_join=True, room="my-room", can_publish=True, can_subscribe=True))
35
+ .to_jwt()
36
+ )
37
+ ```
38
+
39
+ ## API Reference
40
+
41
+ | Wibechat SDK | LiveKit equivalent |
42
+ |---|---|
43
+ | `AccessToken` | `livekit.api.AccessToken` |
44
+ | `RoomGrants` | `livekit.api.VideoGrants` |
45
+
46
+ ## Documentation
47
+
48
+ See the [Wibechat Developer Portal](https://wibechat.com/developers) for full integration guides.
@@ -0,0 +1,37 @@
1
+ # Wibechat Python SDK
2
+
3
+ Token generation for Wibechat calling, built on [LiveKit](https://livekit.io/).
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install wibechat
9
+ ```
10
+
11
+ ## Quick Start
12
+
13
+ ```python
14
+ import os
15
+ from datetime import timedelta
16
+ from wibechat import AccessToken, RoomGrants
17
+
18
+ token = (
19
+ AccessToken(os.environ["WIBECHAT_API_KEY"], os.environ["WIBECHAT_API_SECRET"])
20
+ .with_identity("user-123")
21
+ .with_name("Alice")
22
+ .with_ttl(timedelta(hours=1))
23
+ .with_grants(RoomGrants(room_join=True, room="my-room", can_publish=True, can_subscribe=True))
24
+ .to_jwt()
25
+ )
26
+ ```
27
+
28
+ ## API Reference
29
+
30
+ | Wibechat SDK | LiveKit equivalent |
31
+ |---|---|
32
+ | `AccessToken` | `livekit.api.AccessToken` |
33
+ | `RoomGrants` | `livekit.api.VideoGrants` |
34
+
35
+ ## Documentation
36
+
37
+ See the [Wibechat Developer Portal](https://wibechat.com/developers) for full integration guides.
@@ -0,0 +1,18 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "wibechat"
7
+ version = "0.1.0"
8
+ description = "Wibechat Python SDK — token generation for Wibechat calling"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = "MIT"
12
+ dependencies = [
13
+ "livekit-api>=0.8.0",
14
+ ]
15
+
16
+ [project.urls]
17
+ Homepage = "https://wibechat.com"
18
+ Documentation = "https://wibechat.com/developers"
@@ -0,0 +1,8 @@
1
+ """Wibechat Python SDK — token generation for Wibechat calling."""
2
+
3
+ from livekit.api import AccessToken, VideoGrants
4
+
5
+ RoomGrants = VideoGrants
6
+
7
+ __version__ = "0.1.0"
8
+ __all__ = ["AccessToken", "RoomGrants", "__version__"]
File without changes