I have experience in the past in implementing a similar approach using the RestFul approach.
By running observChanges from Meteor, sending an HTTP request to the api endpoints to rest Python (in Flask ) from the server, then Flask processes the requests when invoking the corresponding Python scripts / functions with the Meteor response, then processes the callback accordingly.
There are, of course, many other approaches that you can consider, for example, using DDP, child_process, etc. I also looked at using python-meteor before, after you took into account that the RestFul approach is more portable and scalable (both on the same computer and on different machines ... you can expand your servers to handle more requests and etc., you get the idea).
Each use case is different, and I found that RestFul is best suited for my use case. I hope you find my answer helpful and expand your selection of consideration and choose the one that best suits your case. Good luck.
Anzel source share