Alfons IoT
This is a package for IoT's to interact with Alfons.
import alfonsiot
def onMessage(iot, topic, payload):
print("onMessage", topic, payload)
def onTopicMessage(message):
print("Got message from specified", message)
def onConnect(iot):
print("Connected!", iot)
iot.subscribe("topic", onTopicMessage)
iot.publish("topic", "Message!")
iot = alfonsiot.start(host="", port="", username="", password="")
iot.onConnect = onConnect
iot.onMessage = onMessage
Metadata
Release files for alfonsiot 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| alfonsiot-0.0.11.tar.gz | 3.7 kB | Without provenance | Details for alfonsiot-0.0.11.tar.gz |
Release files / alfonsiot-0.0.11.tar.gz
| Download URL | alfonsiot-0.0.11.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae7cc582462103e39afc878979f45bd32e8d8a969b02ebcb769b04c315d22635
|
|
BLAKE2b-256 checksum How to use checksums |
6adb516fd7bd211650872e37983bffd36b0f8ddb4424162f2c4a44603f5fa0c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5
|
Security for alfonsiot 0.0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.