How to send data to kernel with ipywidget (without initializing the widget on notebook)

Lets say I have an Ipywidget widget which is created both on js and python side. But i want to send data to kernel without initializing my widget on jupyterlab notebook. I want to send data from javascript side of the widget. Because the widget is not ui component. I just want to be able to send some data to kernel or execute changehandler function that i declared on python side of the widget, so whenever i change data of the widget from js side, it will run that funciton with new data. (but still without initializing mywidget on notebook cell)