<commit_before>import json
import platform
import re
import StringIO
from subprocess import check_output, CalledProcessError
import time
import yaml
from binstar_client import errors
from binstar_client.utils import get_binstar, store_token
from binstar_client.utils.notebook.inflection import parameterize<commit_msg>StringIO working with py3<commit_after>import json
import platform
import re
try:
    from StringIO import StringIO
except ImportError:
    from io import StringIO
from subprocess import check_output, CalledProcessError
import time
import yaml
from binstar_client import errors
from binstar_client.utils import get_binstar, store_token
from binstar_client.utils.notebook.inflection import parameterize
{'fraction_non_alphanumeric': 0.027816411682892908, 'fraction_numerical': 0.0013908205841446453, 'mean_word_length': 7.275862068965517, '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': '2480167', 'n_tokens_mistral': 197, 'n_tokens_neox': 190, 'n_words': 71}