PyCode Sample for Data Collection, Streaming and Processing