# 童心制物云服务 mkcloud
## 目前提供的功能
### 聊天机器人
发消息 mkcloud.robot.chat(‘哈哈哈哈’) 切换中英文服务 mkcloud.robot.setLanguage(‘en’)
### MqTT功能
导入方式:
from mkcloud.mqtt import mqtt
设置参数
mqtt.set_broker(‘mb1234’,’broker.emqx.io’,1883)
MQTT连接
mqtt.connect()
信息发送
mqtt.publish_message(“topic”, “messages”)
信息接收
def callback(topic, data): print(“CallBack -Received”, data, “topic:”, topic) mqtt.set_callback(callback) mqtt.subscribe_message(“topic1”) mqtt.subscribe_message(“topic2”)
Metadata
Release files for mkcloud 0.1.0
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 | |
|---|---|---|---|---|
| mkcloud-0.1.0.tar.gz | 4.1 kB | Without provenance | Details |
Release files / mkcloud-0.1.0.tar.gz
| Download URL | mkcloud-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d053b78e685444ca0fd15d5b481ca5253f2bfb4ed37a43df55856b31573f2f1
|
|
BLAKE2b-256 checksum How to use checksums |
1d8c0c9ca861dd012d25c1067a6d67ad8b2c162a2d8ed58cbd50d68b2183822d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|
Security for mkcloud 0.1.0
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.