Skip to content
Python Client of CodeLab Adapter v2.
Python Makefile
Branch: master
Clone or download
Pull request Compare This branch is 3 commits ahead, 9 commits behind wwj718:master.
Latest commit f03a297 Aug 21, 2019

readme.md

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" }
}
You can’t perform that action at this time.