slidge-whatsapp 0.2.0a0__cp311-cp311-manylinux_2_36_x86_64.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.
Potentially problematic release.
This version of slidge-whatsapp might be problematic. Click here for more details.
- slidge_whatsapp/__init__.py +11 -0
- slidge_whatsapp/__main__.py +9 -0
- slidge_whatsapp/attachment.go +386 -0
- slidge_whatsapp/command.py +143 -0
- slidge_whatsapp/config.py +38 -0
- slidge_whatsapp/contact.py +75 -0
- slidge_whatsapp/event.go +856 -0
- slidge_whatsapp/gateway.go +175 -0
- slidge_whatsapp/gateway.py +97 -0
- slidge_whatsapp/generated/__init__.py +0 -0
- slidge_whatsapp/generated/_whatsapp.cpython-311-x86_64-linux-gnu.so +0 -0
- slidge_whatsapp/generated/build.py +378 -0
- slidge_whatsapp/generated/go.py +1720 -0
- slidge_whatsapp/generated/whatsapp.py +2797 -0
- slidge_whatsapp/go.mod +28 -0
- slidge_whatsapp/go.sum +55 -0
- slidge_whatsapp/group.py +240 -0
- slidge_whatsapp/session.go +783 -0
- slidge_whatsapp/session.py +663 -0
- slidge_whatsapp/util.py +12 -0
- slidge_whatsapp-0.2.0a0.dist-info/LICENSE +661 -0
- slidge_whatsapp-0.2.0a0.dist-info/METADATA +81 -0
- slidge_whatsapp-0.2.0a0.dist-info/RECORD +25 -0
- slidge_whatsapp-0.2.0a0.dist-info/WHEEL +4 -0
- slidge_whatsapp-0.2.0a0.dist-info/entry_points.txt +3 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: slidge-whatsapp
|
|
3
|
+
Version: 0.2.0a0
|
|
4
|
+
Summary: A Whatsapp/XMPP gateway.
|
|
5
|
+
Author: deuill
|
|
6
|
+
Author-email: alex@deuill.org
|
|
7
|
+
Requires-Python: >=3.11,<4.0
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
11
|
+
Requires-Dist: linkpreview (>=0.6.5,<0.7.0)
|
|
12
|
+
Requires-Dist: pybindgen (>=0.22.1,<0.23.0)
|
|
13
|
+
Requires-Dist: slidge (>=0.2.0alpha4,<0.3.0)
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# slidge-whatsapp
|
|
17
|
+
|
|
18
|
+
[Home](https://sr.ht/~nicoco/slidge) |
|
|
19
|
+
[Docs](https://slidge.im/slidge-whatsapp) |
|
|
20
|
+
[Issues](https://todo.sr.ht/~nicoco/slidge-whatsapp) |
|
|
21
|
+
[Patches](https://lists.sr.ht/~nicoco/public-inbox) |
|
|
22
|
+
[Chat](xmpp:slidge@conference.nicoco.fr?join)
|
|
23
|
+
|
|
24
|
+
A
|
|
25
|
+
[feature-rich](https://slidge.im/slidge-whatsapp/features.html)
|
|
26
|
+
[WhatsApp](https://whatsapp.com) to
|
|
27
|
+
[XMPP](https://xmpp.org/) puppeteering
|
|
28
|
+
[gateway](https://xmpp.org/extensions/xep-0100.html), based on
|
|
29
|
+
[slidge](https://slidge.im) and
|
|
30
|
+
[whatsmeow](https://github.com/tulir/whatsmeow).
|
|
31
|
+
|
|
32
|
+
[](https://builds.sr.ht/~nicoco/slidge-whatsapp/commits/master/ci.yml)
|
|
33
|
+
[](https://builds.sr.ht/~nicoco/slidge-whatsapp/commits/master/container.yml)
|
|
34
|
+
[](https://pypi.org/project/slidge-whatsapp/)
|
|
35
|
+
|
|
36
|
+
## Installation
|
|
37
|
+
|
|
38
|
+
Refer to the [slidge admin documentation](https://slidge.im/core/admin/)
|
|
39
|
+
for general info on how to set up an XMPP server component.
|
|
40
|
+
|
|
41
|
+
### Containers
|
|
42
|
+
|
|
43
|
+
From [dockerhub](https://hub.docker.com/r/nicocool84/slidge-whatsapp)
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
# use ravermeister/slidge-whatsapp for arm64 (thanks raver! <3)
|
|
47
|
+
docker run docker.io/nicocool84/slidge-whatsapp
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Python package
|
|
51
|
+
|
|
52
|
+
With [pipx](https://pypa.github.io/pipx/):
|
|
53
|
+
|
|
54
|
+
```sh
|
|
55
|
+
|
|
56
|
+
# for the latest stable release (if any)
|
|
57
|
+
pipx install slidge-whatsapp
|
|
58
|
+
|
|
59
|
+
# for the bleeding edge
|
|
60
|
+
pipx install slidge-whatsapp \
|
|
61
|
+
--pip-args='--extra-index-url https://slidge.im/repo'
|
|
62
|
+
|
|
63
|
+
slidge-whatsapp --help
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Make sure to install `ffmpeg` for full outgoing media compatibility; for
|
|
67
|
+
example, in Debian/Ubuntu:
|
|
68
|
+
|
|
69
|
+
```sh
|
|
70
|
+
sudo apt install ffmpeg
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Dev
|
|
74
|
+
|
|
75
|
+
```sh
|
|
76
|
+
git clone https://git.sr.ht/~nicoco/slidge
|
|
77
|
+
git clone https://git.sr.ht/~nicoco/slidge-whatsapp
|
|
78
|
+
cd slidge-whatsapp
|
|
79
|
+
docker-compose up
|
|
80
|
+
```
|
|
81
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
slidge_whatsapp/__init__.py,sha256=XL93fKaE6S5TU04qO2Aq_YpJ9ivt5Nx6XxVmYYeazqs,295
|
|
2
|
+
slidge_whatsapp/__main__.py,sha256=6VPUC6_yn2u3L7s1k3cdVNvWPicCuRdCLmyKYiiV1YQ,118
|
|
3
|
+
slidge_whatsapp/attachment.go,sha256=_a6kSPnG285HxXnES1xmRYW1yGWgLvDPcNSFXhjGP1Y,13730
|
|
4
|
+
slidge_whatsapp/command.py,sha256=dTpx0ThyPDr3t6mafy8fuIO9VvXdcObQ4bCrZ4Enke8,4966
|
|
5
|
+
slidge_whatsapp/config.py,sha256=VyFxPUyUbqTHKRFxnLvAHSm4wVIofyYOsESRRwYnajs,1145
|
|
6
|
+
slidge_whatsapp/contact.py,sha256=62zXWXOheXMQgee1BjjGzhpcY8EN318buSJ7NjLp-do,2714
|
|
7
|
+
slidge_whatsapp/event.go,sha256=_XH9pLlbK5Jiib1dneI51HKRxQnHoVx8bT3-83KjY_g,30532
|
|
8
|
+
slidge_whatsapp/gateway.go,sha256=JaJNE04vtJ4h1unhvcclu6WRWC1beKkN0nCB70eBdB0,5588
|
|
9
|
+
slidge_whatsapp/gateway.py,sha256=U91YT5L6-fw1BieStsGqe02F9ScIVUY6lHSjUB6LE3o,3139
|
|
10
|
+
slidge_whatsapp/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
slidge_whatsapp/generated/_whatsapp.cpython-311-x86_64-linux-gnu.so,sha256=yCBZpR-GLvK7nQh1oDnGGZ9qOiGEw6qfXunX8EuIpeg,19521824
|
|
12
|
+
slidge_whatsapp/generated/build.py,sha256=h6qD7CcyHml2VIBLPZlyGvRWuFnzsJwbQmhREdYRqIw,36237
|
|
13
|
+
slidge_whatsapp/generated/go.py,sha256=Rg6BQ9hol6jOwJZe1uY_Bbjz3rBiecFLmiKCjIQuGb8,55443
|
|
14
|
+
slidge_whatsapp/generated/whatsapp.py,sha256=LytyfEs4Tbh7nZtc5ilfhXrCtY3KWWdW07mIgnaqwiM,93395
|
|
15
|
+
slidge_whatsapp/go.mod,sha256=SDTl75_4CD3EC-dWXg-HQCt5DSDA0odTdWGiqIfIuig,839
|
|
16
|
+
slidge_whatsapp/go.sum,sha256=HurLjnBeGNJdhQoIOm2G0IrzIwtTd5p4VWtQa1k9mgs,4755
|
|
17
|
+
slidge_whatsapp/group.py,sha256=3XIPcqaXXLYgQcCBaQU45I2dHsuRlplHMXhwaC0e_7E,8748
|
|
18
|
+
slidge_whatsapp/session.go,sha256=_2-U3ZZXLSbvydZe51Zbe__5LV5PXn-ivwZTemGCmtg,27566
|
|
19
|
+
slidge_whatsapp/session.py,sha256=OOEoFyFm8LN_b3DSTxJaGKz6zrz5Vcchk9ZTRbO0ifQ,24589
|
|
20
|
+
slidge_whatsapp/util.py,sha256=_gly3biEjcvmAsMHdWtDLEeAP8FLg4F5ch_5C_30zOo,341
|
|
21
|
+
slidge_whatsapp-0.2.0a0.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
|
22
|
+
slidge_whatsapp-0.2.0a0.dist-info/METADATA,sha256=u9IPgUnQXvWxedQ_1UWzESY5kb2rG3RB40ezXlHYteg,2418
|
|
23
|
+
slidge_whatsapp-0.2.0a0.dist-info/WHEEL,sha256=HRPXLL6LrPZ-rKc-riUb-NnHm0N0D_eabQkJuTTqWU0,110
|
|
24
|
+
slidge_whatsapp-0.2.0a0.dist-info/entry_points.txt,sha256=D1z8k9xX6HqfjjsCmxaNiozz_7p6Wp06pdhyDIWzbKU,65
|
|
25
|
+
slidge_whatsapp-0.2.0a0.dist-info/RECORD,,
|