Skip to main content

No project description provided

Project description

iot-core

Subscribe to MQTT Topic

import iotcore


def callback(payload):
    print(f"Received payload in python: {payload}")


core = iotcore.IotCore("mqtt.eclipseprojects.io", 1883, callback)
core.publish("pub/iotcore", "hello")
core.subscribe("sub/iotcore")
core.run()

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

iotcore-0.0.9.tar.gz (10.4 kB view hashes)

Uploaded source

Built Distributions

iotcore-0.0.9-cp311-none-win_amd64.whl (838.5 kB view hashes)

Uploaded cp311

iotcore-0.0.9-cp311-none-win32.whl (783.3 kB view hashes)

Uploaded cp311

iotcore-0.0.9-cp310-none-win_amd64.whl (838.5 kB view hashes)

Uploaded cp310

iotcore-0.0.9-cp310-none-win32.whl (783.3 kB view hashes)

Uploaded cp310

iotcore-0.0.9-cp39-none-win_amd64.whl (838.8 kB view hashes)

Uploaded cp39

iotcore-0.0.9-cp39-none-win32.whl (783.5 kB view hashes)

Uploaded cp39

iotcore-0.0.9-cp38-none-win_amd64.whl (838.5 kB view hashes)

Uploaded cp38

iotcore-0.0.9-cp38-none-win32.whl (783.2 kB view hashes)

Uploaded cp38

iotcore-0.0.9-cp37-none-win_amd64.whl (838.3 kB view hashes)

Uploaded cp37

iotcore-0.0.9-cp37-none-win32.whl (783.2 kB view hashes)

Uploaded cp37

Supported by

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