Metadata-Version: 2.1
Name: livemasjid
Version: 0.1.0
Summary: 
Author: Yusuff Lockhat
Author-email: 45769466+lockhaty@users.noreply.github.com
Requires-Python: >=3.6,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: paho-mqtt (>=1.5.1,<2.0.0)
Requires-Dist: requests (>=2.26.0,<3.0.0)
Requires-Dist: websocket (>=0.2.1,<0.3.0)
Description-Content-Type: text/markdown

#Livemasjid

This package provides a pythonic interface to subscribe 
to updates from Livemasjid as well as to get the current
status of Livemasjid streams.

```python
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()
```
