Skip to content

vk-cs/iot-python-rules-engine-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 }')

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages