Thunderpush client for Python
A Python library for sending messages to the Thunderpush server.
Install
pip install thunderclient
Example
from thunderclient import Thunder
c = Thunder('key', 'secretkey', 'localhost', 8080)
print(c.get_user_count())
print(c.get_users_in_channel('test'))
print(c.send_message_to_user('test', {'msg': 'hello!'}))
print(c.send_message_to_channel('test', {'msg': 'hello!'}))
print(c.is_user_online('test'))
print(c.disconnect_user('test'))
Metadata
Release files for thunderclient 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| thunderclient-1.0.1.tar.gz | 3.1 kB | Details |
Release files / thunderclient-1.0.1.tar.gz
| Download URL | thunderclient-1.0.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa1b54c488ca02aeecd6f4c3d4bccc7ad19a35132a25e650a270cf8936f1b8f9
|
|
BLAKE2b-256 checksum How to use checksums |
931f4e39d7a93720cb4ba2288d774d00178c5a31bd7841dcaf2363b694c562ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |