Skip to main content

Enable IoT in you django app

Project description

Documentation Status https://travis-ci.org/Tomvictor/djangoiot.svg?branch=master

Djangoiot helps the Django app to effectively communicate over MQTT. Moreover, it enables the IoT devices to communicate directly with the web apps, database as well as algorithms. The IoT era calls for a new connectivity protocol that guarantees minimum data consumption and greater reliability. Therefore, MQTT is more suitable than HTTP since it ensures complete support for actual physical devices.

Look how easy it is to use:

from djangoiot.shortcuts import device,subscribe
from djangoiot import broker

new_broker = broker.register(host="localhost", port=8001)
new_broker.subscribe("topic/hello")
new_broker.send_message("topic/hello", "message")

For full documentation, visit djangoiot.readthedocs.io.

Features

  • Add and configure broker

  • Send message over MQTT

  • Receive from MQTT broker

  • Broadcast message over MQTT topics

Installation

Install djangoiot by running:

pip install djangoiot

Contribute

  • Issue Tracker: github.com/tomvictor/djangoiot/issues

  • Source Code: github.com/tomvictor/djangoiot

Support

If you are having issues, please let raise issue on github.

License

The project is licensed under the MIT license.

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

djangoiot-0.0.2b0.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

djangoiot-0.0.2b0-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page