Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 563 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 563 Bytes

CoIIoT SDK

This package includes classes and functions for writing business rules in Python 3 for VK IoT Platform. Using coiiot_sdk in the development environment improves the convenience of writing rules through autocompletion and type hints.

Installation

    pip install coiiot_sdk-0.0.1.tar.gz

Example

from coiiot_sdk import user_logs, cron_context

logger = user_logs.get_logger()
ctx = cron_context.current()

logger.info(f'rule_name={ ctx.rule.name }')
logger.info(f'schedule_name={ ctx.schedule.name }')