Skip to main content

# 童心制物云服务 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”)

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)

Source distribution for mkcloud 0.1.0
File Size Uploaded
mkcloud-0.1.0.tar.gz 4.1 kB 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

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page