Skip to main content

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

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.start()

Project details


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.2.tar.gz (2.5 kB view hashes)

Uploaded source

Built Distribution

livemasjid-0.1.2-py3-none-any.whl (2.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page