def convert_proxy_to_requests(proxy):
    """
    This function convert a string ip:port to the requests package proxy format

    """
    return {'http': 'http://{}'.format(proxy), 'https': 'http://{}'.format(proxy)}