No project description provided
Project description
#Livemasjid
This package provides a pythonic interface to subscribe to updates from Livemasjid as well as to get the current status of Livemasjid streams.
from livemasjid import Livemasjid
def my_callback(topic, message, status):
print(topic)
print(message)
print(status)
if __name__ == "__main__":
lm = Livemasjid(subscriptions=['activestream'])
lm.register_on_message_callback(my_callback)
lm.update_status()
status = lm.get_status()
lm.run()
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
livemasjid-0.1.1.tar.gz
(2.5 kB
view details)
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 livemasjid-0.1.1.tar.gz.
File metadata
- Download URL: livemasjid-0.1.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.9.1 Darwin/20.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d27e8f3d2fb61525da68c083fc8d6a686915acb11f0b80b85da46f58997229ff
|
|
| MD5 |
01ea5a65685aed8562bee69a0e0539db
|
|
| BLAKE2b-256 |
33b02b32749a267adb07b5d2f5bd3aeb1a2ca031217ba4b55cbe83a709e4a67c
|
File details
Details for the file livemasjid-0.1.1-py3-none-any.whl.
File metadata
- Download URL: livemasjid-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.9.1 Darwin/20.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a54add91685aad439f0f7f74a58ff081c6cfc0aa5a34fc661b0cfada1da2ed1
|
|
| MD5 |
f7a894d70ec0896afe46a2285e93e60d
|
|
| BLAKE2b-256 |
43d61e68f47030ba7fe94c55bc956dfad9981f2628b7a97be97023cd03af02d4
|