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.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for livemasjid-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8220b3fd3a0546e0372e61f0939e1c6896b230357177821856aff25038b0d1c4 |
|
MD5 | 03f0594c49775fcd1e5da3eae37f9a21 |
|
BLAKE2b-256 | 0ff7a858648bc7d538e3732dd40554e348016e980f8d7d28608125ad7940f07e |