<commit_before>import urllib
import urllib2
import pprint
from utils import transform_datetime
from utils import flatten
from warnings import warn
from django.utils import simplejson
_debug = 1


class ChimpyException(Exception):
    pass

class ChimpyWarning(Warning):
    pass


class Connection(object):
    """mailchimp api connection"""

    output = "json"
    version = '1.3'<commit_msg>fix import simplejson in chimpy.py<commit_after>import urllib
import urllib2
import pprint
from utils import transform_datetime
from utils import flatten
from warnings import warn
try:
    from django.utils import simplejson
except ImportError:
    import json as simplejson
_debug = 1


class ChimpyException(Exception):
    pass

class ChimpyWarning(Warning):
    pass


class Connection(object):
    """mailchimp api connection"""

    output = "json"
    version = '1.3'
{'fraction_non_alphanumeric': 0.06566820276497695, 'fraction_numerical': 0.009216589861751152, 'mean_word_length': 4.465408805031447, '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': '3277929', 'n_tokens_mistral': 255, 'n_tokens_neox': 250, 'n_words': 88}