Skip to main content

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


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.1.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scadable_cli-0.1.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file scadable_cli-0.1.1.tar.gz.

File metadata

  • Download URL: scadable_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for scadable_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 26ad74a0130708f289f9bef2f459ec640d888934c8b0d07477022d91ccf4c2bf
MD5 7c4976b5b971cc57e4954bdc64bd7cda
BLAKE2b-256 77035d905e0b17f1b39fce6855f425ef2278aba1bedf41f0bde59d4fd5f08eaa

See more details on using hashes here.

File details

Details for the file scadable_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: scadable_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for scadable_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b30428c34eea0bac30a856c8acf1ea407feceb651cefcd77b49db3e16e4acb27
MD5 607f452c1f18ee8884137595e4cd5149
BLAKE2b-256 4df59de5afc534c5825d8bb4317c5243ed41f3af52ad3abd7fa9ca1f7c80e19c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page