cloudant-labs / data-flow-examples

Examples extracting data from Cloudant and writing it elsewhere
4 stars 4 forks source link

How to automatically trigger python script after changes made in cloudant ? #18

Closed ZaheerUdDeen closed 6 years ago

ricellis commented 6 years ago

Python is an available environment in IBM Cloud Functions. The Cloud Functions tutorial demonstrates the Cloudant changes trigger coupled to a Node.js action, but the action could be replaced with Python instead.

Alternatively the Streams Designer tutorial has example python-cloudant code for listening to the changes feed.