Have you tried creating an api on python?
I guess you can pass the data from typescript to python using Http in the form of json or just save the file using typescript and read it using python and edit it as you want.
I have tried searching everywhere but to no avail. Can anyone guide me as to how to pass data from typescript to python? The data is such that I will use it to do webscraping using beautifulSoup over in python. As I'm not putting any implementations here, any general guidance will do :)
Connecting TypeScript to python