tuya-cloudcutter

A tool that disconnects Tuya IoT devices from the cloud, allowing them to run completely locally.

import json


def object_to_json(obj):
    return json.dumps(obj, separators=(',', ':'))