Make a version of python_sqs that works from stdin