<commit_before>from mailchimp3 import MailChimp
from django.conf import settings
import hashlib
from requests.exceptions import HTTPError

<commit_msg>do nothing if mailchimp is not setup<commit_after>from mailchimp3 import MailChimp
from django.conf import settings
import hashlib
from requests.exceptions import HTTPError


if settings.MAILCHIMP_USER is None:
    client = None
{'fraction_non_alphanumeric': 0.03430079155672823, 'fraction_numerical': 0.005277044854881266, 'mean_word_length': 6.169811320754717, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '719285', 'n_tokens_mistral': 104, 'n_tokens_neox': 107, 'n_words': 40}