#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.start()
Metadata
Release files for livemasjid 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| livemasjid-0.1.2.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| livemasjid-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.2 kB
Release files / livemasjid-0.1.2.tar.gz
| Download URL | livemasjid-0.1.2.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b5840b93fdc19a67ca3e58318b88e20e015e9d2904bbe5552df305abb67a113
|
|
BLAKE2b-256 checksum How to use checksums |
5aee19aec146a48f8e822502fb937a8b9d8221a6f329c1f92c5eed724f1083b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.9.1 Darwin/20.5.0
|
Release files / livemasjid-0.1.2-py3-none-any.whl
| Download URL | livemasjid-0.1.2-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a213b1a5647050796f7f156e1ed6f014a465c246b36bafbe3fd51aba4a03ca59
|
|
BLAKE2b-256 checksum How to use checksums |
d1ff59d87a7b4fd65c38314f956ebba6076a9b5479f56d6b6313a8aa8310307a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.9.1 Darwin/20.5.0
|