<commit_before>#!/usr/bin/env python

import sys
import pydiq

try:
    from PyQt4 import QtGui, QtCore
except:
    from PySide import QtGui, QtCore<commit_msg>Report all missing packages in the main script.<commit_after>#!/usr/bin/env python
import sys

# Try imports and report missing packages.
error = False
try:
    from PyQt4 import QtGui, QtCore
except:
    try:
        from PySide import QtGui, QtCore
    except:
        print "No Qt4 bindings found. Please install either PyQt4 or PySide."
        error = True
try:
    import dicom
except:
    print "Package pydicom not found. Please install it using pip or from https://code.google.com/p/pydicom/."
    error = True
if error:
    sys.exit(-1)

import pydiq
{'fraction_non_alphanumeric': 0.0763888888888889, 'fraction_numerical': 0.006944444444444444, 'mean_word_length': 3.096590909090909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '5636072', 'n_tokens_mistral': 230, 'n_tokens_neox': 226, 'n_words': 87}