add stream.py