real time analytics with websockets for Zzish dashboard in Python/Flask Backend, AngularJS