<commit_before>import json
import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning
import urllib<commit_msg>handle pyhton 2 & 3 versions of urllib<commit_after>import json
import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning
try:
    from urllib import quote  # Python 2.X
except ImportError:
    from urllib.parse import quote  # Python 3+
{'fraction_non_alphanumeric': 0.04914004914004914, 'fraction_numerical': 0.014742014742014743, 'mean_word_length': 5.915254237288136, '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': '5483651', 'n_tokens_mistral': 120, 'n_tokens_neox': 114, 'n_words': 38}