App for Django to provide a CRUD REST interface for GCP's IoT Core
Project description
Provides a CRDL (Create, Retrieve, Destroy, List) interface to GCP IoT Core
Free software: MIT license
Documentation: https://dj_gcp_iotdevice.readthedocs.io.
Installation
Install dj_gcp_iotdevice from pip
$ pip install dj_gcp_iotdevice
Add to your top level apps.py
from dj_gcp_iotdevice.apps import GCPIoTDeviceConfig class MyProjectDeviceConfig(GCPIoTDeviceConfig): registry = 'my-iot-registry' location = 'us-central1' project = 'my-project-id'
Add the new app config to your installed apps
INSTALLED_APPS = [ ... 'apps.MyProjectDeviceConfig', ]
Add the provided urls to your list of urls
urlpatterns = [ ... path('', include('dj_gcp_iotdevice.urls')), ]
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
dj_gcp_iotdevice-0.0.4.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for dj_gcp_iotdevice-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ecc567b0b538e39d017acae3411147fc3ca8d9b4691749ff0e85755299a0bcb |
|
MD5 | c1fadecfa3a3e6392930cf2b871fc043 |
|
BLAKE2b-256 | b59c4f8f66047ddfc29c8e8ccbc986d51684e572efb94ec969befb4d0777b8e4 |