Skip to main content

Django AWS IoT

PyPI Test Status Codecov

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'
    }
)

Metadata

Release files for django-aws-iot 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-aws-iot 1.1.0
File Size Uploaded
django_aws_iot-1.1.0.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-aws-iot 1.1.0
File Interpreter ABI Platform
django_aws_iot-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / django_aws_iot-1.1.0.tar.gz

Download URL django_aws_iot-1.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e6e8d2f240181600091b3ba17c1db822fa4410a4c848ae03d6e22c2b44671671
BLAKE2b-256 checksum
How to use checksums
9b8e96b97fdfba0e6705d4e312cec3537da8e8a880fd3ee507b2d7885c850275
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Release files / django_aws_iot-1.1.0-py3-none-any.whl

Download URL django_aws_iot-1.1.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee1e005f9d75868b22d6ce02990afb5b231517f72dcc170451c02d945eca49d2
BLAKE2b-256 checksum
How to use checksums
4459c785b50739b5c16632f0e04487f8caadb673b0fbd29c21748f6292feea8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page