<commit_before># -*- coding: utf-8 -*-
from collections import Sequence, Mapping
from base64 import b64decode
from uuid import uuid4
from urllib.parse import quote_plus

from intelmq.lib.bot import Bot
from intelmq.lib.message import Event


def quot(s):
    return quote_plus(s or "")

def addr4(s):
    return s if ":" not in s else None

def addr6(s):
    return s if ":" in s else None

<commit_msg>Removed unused import<commit_after># -*- coding: utf-8 -*-
from collections import Sequence, Mapping
from base64 import b64decode
from uuid import uuid4
from urllib.parse import quote_plus

from intelmq.lib.bot import Bot


def quot(s):
    return quote_plus(s or "")

def addr4(s):
    return s if ":" not in s else None

def addr6(s):
    return s if ":" in s else None


{'fraction_non_alphanumeric': 0.09278350515463918, 'fraction_numerical': 0.020618556701030927, 'mean_word_length': 3.6526946107784433, 'pattern_counts': {'":': 4, '<': 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': '4210278', 'n_tokens_mistral': 258, 'n_tokens_neox': 252, 'n_words': 102}