python streaming scripts