<commit_before><commit_msg>coded script to find out current external ip<commit_after>import requests


def myip():
    """
    retrieves external ip address of the pc running this function
    by calling http://myexternalip.com
    :return: external ip address as a string
    """
    url = 'http://myexternalip.com/raw'
    r = requests.get(url)
    ext_ip = r.text
    return ext_ip


if __name__ == '__main__':
    ip = myip()
    print(ip)
{'fraction_non_alphanumeric': 0.10158013544018059, 'fraction_numerical': 0.0, 'mean_word_length': 3.073394495412844, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6669437', 'n_tokens_mistral': 140, 'n_tokens_neox': 137, 'n_words': 45}