Skip to main content

通过童心制物云服务可以进行人工智能、聊天机器人、常用网络 api 获取等常用云服务。

Project description

# 童心制物云服务 mkcloud

## 目前提供的功能

### 聊天机器人

发消息‘哈哈哈哈’) 切换中英文服务 mkcloud.robot.setLanguage(‘en’)

### MqTT功能

  • 导入方式:

    from mkcloud.mqtt import mqtt

  • 设置参数


  • MQTT连接


  • 信息发送

    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”)

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

mkcloud-0.1.0.tar.gz (4.1 kB view hashes)

Uploaded source

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