Skip to content

wwj718/codelab_adapter_client

Repository files navigation

codelab_adapter_client

Python Client of CodeLab Adapter v2.

Install

# Python >= 3.6
pip install codelab_adapter_client 

Usage

from codelab_adapter_client import AdapterNode

example

extension_eim.py

tools(for debugging)

codelab-message-monitor # subscribes to all messages and print both topic and payload.
codelab-message-trigger # pub the message in json file(`/tmp/message.json`).

/tmp/message.json:

{
  "topic": "adapter_core/extensions/operate",
  "payload": { "content": "start", "extension_name": "extension_eim" }
}

About

Python Client of CodeLab Adapter v2.

Resources

License

Stars

Watchers

Forks

Packages

No packages published