Edge SDK for the Scadable IoT platform
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
Scadable Edge SDK
Python SDK for defining devices on the Scadable IoT platform.
Installation
pip install scadable-cli
Usage
Create a config.py for your device:
from scadable.edge import Device, ModbusConnection
from scadable.edge.constants import MODBUS_TCP, FIVE_SEC
from dataclasses import dataclass
@dataclass
class Connection(ModbusConnection):
host: str = "${DEVICE_HOST}"
port: int = 502
slave_id: int = 1
class MyPLC(Device):
id = "device-001"
protocol = MODBUS_TCP
connection = Connection
frequency = FIVE_SEC
Project Structure
gateways/
gateway-001/
device-001/
config.py
device-002/
config.py
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
scadable_cli-0.3.0.tar.gz
(10.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scadable_cli-0.3.0.tar.gz.
File metadata
- Download URL: scadable_cli-0.3.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40d3baee8e3e2520a5ab366fc0ed7ac109d529f27054387da8b37ad7ba8231f0
|
|
| MD5 |
2f580ba253718650265b71c1b9e1e7a8
|
|
| BLAKE2b-256 |
2dafd12350cae1331248c0f3f5c1c3f9ac758c32fd3535b9b2f254cfbdd97aff
|
File details
Details for the file scadable_cli-0.3.0-py3-none-any.whl.
File metadata
- Download URL: scadable_cli-0.3.0-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a3b410e5b47211c98a80fa044e080ecab53b3ae47ca99d088d7972870eae3f3
|
|
| MD5 |
c45ef47ca0494fefc003cec9646072bc
|
|
| BLAKE2b-256 |
d57dfe0c03f92b8715e65d22c9da52971c14850a58c8b9a2feb25f349e9abecc
|