A django module that allows to connect and publish messages to AWS IoT
Project description
Django AWS IoT
A django module that allows to connect and publish messages to AWS IoT
Installation
Install using pip:
pip install django-aws-iot
Extend django settings:
AWS_IOT_ENABLED = True
AWS_IOT_SERVER = "server.amazonaws.com"
AWS_IOT_CLIENT_ID = "Thing-Name"
AWS_IOT_CERT_PATH = "/certificates/8a6a6cfdf1-certificate.pem.crt"
AWS_IOT_KEY_PATH = "/certificates/8a6a6cfdf1-private.pem.key"
AWS_IOT_ROOT_CERT_PATH = "/certificates/AmazonRootCA1.pem"
Usage
Currently the library only supports publishing messages to AWS IoT:
from django_aws_iot.aws_iot import mqtt_publish
mqtt_publish(
'topic/123',
{
'foo': 'bar'
}
)
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
django_aws_iot-1.1.0.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file django_aws_iot-1.1.0.tar.gz
.
File metadata
- Download URL: django_aws_iot-1.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6e8d2f240181600091b3ba17c1db822fa4410a4c848ae03d6e22c2b44671671 |
|
MD5 | c233922e52268dae2d12d4718518b38f |
|
BLAKE2b-256 | 9b8e96b97fdfba0e6705d4e312cec3537da8e8a880fd3ee507b2d7885c850275 |
File details
Details for the file django_aws_iot-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_aws_iot-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee1e005f9d75868b22d6ce02990afb5b231517f72dcc170451c02d945eca49d2 |
|
MD5 | ae0ccacae4d9d1dc920e8e06fe1ce2dc |
|
BLAKE2b-256 | 4459c785b50739b5c16632f0e04487f8caadb673b0fbd29c21748f6292feea8a |