from six import BytesIO as StringIO