<commit_before>"""utils.py"""
from datetime import datetime

from slugify import slugify as _slugify
import bson


# _slugify = Slugify(to_lower=True, stop_words=('the', 'a', 'an', 'is', 'of', 'in'))


def slugify(input_string):
    """custom slugify"""
    return _slugify(input_string)


def utcnow():
    """Quick UTC Now for default purposes"""
    return datetime.utcnow().replace(tzinfo=bson.utc)
<commit_msg>remove unused code<commit_after>"""utils.py"""
from datetime import datetime

from slugify import slugify as _slugify
import bson


def slugify(input_string):
    """custom slugify"""
    return _slugify(input_string)


def utcnow():
    """Quick UTC Now for default purposes"""
    return datetime.utcnow().replace(tzinfo=bson.utc)

{'fraction_non_alphanumeric': 0.13636363636363635, 'fraction_numerical': 0.0, 'mean_word_length': 5.0894308943089435, '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': '7087065', 'n_tokens_mistral': 255, 'n_tokens_neox': 246, 'n_words': 68}