How to transfer data between plotly Python app and C++ app?


I am new to plotly and would like to ask a question. I have a C++ application running on Raspberry Pi and printing around 80 different values from 2 ADCs on the screen. I want to send these data to plotly application and plot them in the browser.

All examples that I looked at are generating data inside the python script or reads from web or somewhere.

How can I send the data from C++ applicaton to plotly application?
It is a python question rather than plotly but maybe there is a quick way for that.