<commit_before>import os
import sys
import urllib
import urllib2
import urlparse
import hmac
import hashlib
import json
from optparse import OptionParser
from pprint import pprint
from datetime import datetime

from allura.lib.import_api import AlluraImportApiClient<commit_msg>Allow allura_import.py to find the dependent libraries in ../Allura<commit_after>import os
import sys
import urllib
import urllib2
import urlparse
import hmac
import hashlib
import json
from optparse import OptionParser
from pprint import pprint
from datetime import datetime

import os.path
scriptDir=os.path.dirname(__file__)
sys.path.append(os.path.join(scriptDir, '..', 'Allura'))
from allura.lib.import_api import AlluraImportApiClient
{'fraction_non_alphanumeric': 0.05013927576601671, 'fraction_numerical': 0.002785515320334262, 'mean_word_length': 6.489583333333333, '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': '482153', 'n_tokens_mistral': 207, 'n_tokens_neox': 205, 'n_words': 76}