Enable IoT in you django app
Project description
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
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
Built Distribution
Hashes for djangoiot-0.0.2b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bd1ba42b96e38412f1e8c9ae64ee668feeff8db9aa53ce750824292ec4a59a1 |
|
MD5 | aea6e007b065cdaed81bd2e59e64f2d0 |
|
BLAKE2b-256 | cd8dddff836b84a2cc37c3c03a09507b2538717239464c5bc909fe1b3bd8c196 |