<commit_before># -*- coding: utf-8 -*-
import os
import re
import config
import zipfile
import crypto_util
import uuid
import tempfile
import subprocess
from cStringIO import StringIO
import gzip
from werkzeug import secure_filename

from secure_tempfile import SecureTemporaryFile

import logging
log = logging.getLogger(__name__)

VALIDATE_FILENAME = re.compile(
    "^(?P<index>\d+)\-[a-z0-9-_]*(?P<file_type>msg|doc\.(gz|zip)|reply)\.gpg$").match


class PathException(Exception):

    """An exception raised by `util.verify` when it encounters a bad path. A path
    can be bad when it is not absolute or not normalized.
    """
    pass<commit_msg>store: remove unused modules<commit_after># -*- coding: utf-8 -*-
import os
import re
import config
import zipfile
import crypto_util
import tempfile
import subprocess
import gzip
from werkzeug import secure_filename

from secure_tempfile import SecureTemporaryFile

import logging
log = logging.getLogger(__name__)

VALIDATE_FILENAME = re.compile(
    "^(?P<index>\d+)\-[a-z0-9-_]*(?P<file_type>msg|doc\.(gz|zip)|reply)\.gpg$").match


class PathException(Exception):

    """An exception raised by `util.verify` when it encounters a bad path. A path
    can be bad when it is not absolute or not normalized.
    """
    pass
{'fraction_non_alphanumeric': 0.10703125, 'fraction_numerical': 0.0046875, 'mean_word_length': 4.4743589743589745, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7515536', 'n_tokens_mistral': 408, 'n_tokens_neox': 396, 'n_words': 130}