<commit_before># -*- coding: utf-8 -*-
import io
import json
import hashlib
import datetime
from urllib import parse<commit_msg>Fix a python 2 incompability with the import.<commit_after># -*- coding: utf-8 -*-
import io
import json
import hashlib
import datetime
try:
    from urlparse import urlparse as parse
except ImportError:
    from urllib import parse
{'fraction_non_alphanumeric': 0.075, 'fraction_numerical': 0.008333333333333333, 'mean_word_length': 4.3088235294117645, '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': '307418', 'n_tokens_mistral': 102, 'n_tokens_neox': 99, 'n_words': 45}