Skip to main content

云服务

Project description

# 服务 liamcloud

## 目前提供的功能

### 聊天机器人

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

### MqTT功能

  • 导入方式:

    from mkcloud.mqtt import mqtt

  • MQTT连接

    mqtt.connect()

  • 信息发送

    mqtt.publish_message(“topic”, “messages”)

  • 信息接收

    def callback(topic, data): print(“CallBack -Received”, data, “topic:”, topic) mqtt.subscribe_message(“topic”,callback)

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

liamcloud-1.0.2.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file liamcloud-1.0.2.tar.gz.

File metadata

  • Download URL: liamcloud-1.0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for liamcloud-1.0.2.tar.gz
Algorithm Hash digest
SHA256 923389e0f25641085a099cc04a56d1f4471f1990c200ae51afab884b0273732d
MD5 5ac25bb7d6540976caa67327d75f2455
BLAKE2b-256 594222b93961ba60a31a20bb6ef1fa8beda652a430ea847b51777b8cc05f27a5

See more details on using hashes here.

Supported by

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