<commit_before>#!/usr/bin/env python
import sys
import os
import json
import requests
import base64
import ConfigParser
import threading
import Queue
import time


try:
    requests.packages.urllib3.disable_warnings()
except:
    pass


CURRENT_DIR     =  os.path.dirname(os.path.abspath(__file__))
CONFIG          =  os.path.join(CURRENT_DIR,'settings.conf')


class Device42():<commit_msg>optimize imports<commit_after>#!/usr/bin/env python
import sys
import os
import json
import base64
import ConfigParser
import threading
import Queue
import time

import requests

try:
    requests.packages.urllib3.disable_warnings()
except:
    pass


CURRENT_DIR     =  os.path.dirname(os.path.abspath(__file__))
CONFIG          =  os.path.join(CURRENT_DIR,'settings.conf')


class Device42():
{'fraction_non_alphanumeric': 0.09171974522292993, 'fraction_numerical': 0.012738853503184714, 'mean_word_length': 4.3108108108108105, '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': '861250', 'n_tokens_mistral': 261, 'n_tokens_neox': 249, 'n_words': 60}