<commit_before>#!/ms/dist/python/PROJ/core/2.5.0/bin/python


import sys
import os

if __name__ == '__main__':
    DIR = os.path.dirname(os.path.realpath(__file__))
    sys.path.insert(0, os.path.realpath(os.path.join(DIR, '..', '..')))
    import aquilon.aqdb.depends

from aquilon.aqdb.utils.shell import ipshell
from aquilon.aqdb.db_factory import db_factory, Base


dbf = db_factory()
Base.metadata.bind = dbf.engine
Base.metadata.bind.echo = True
s = dbf.session()

from aquilon.aqdb.utils.table_admin import *
ipshell()
<commit_msg>has its own dependencies for now<commit_after>#!/ms/dist/python/PROJ/core/2.5.0/bin/python
import msversion

msversion.addpkg('sqlalchemy', '0.5beta', 'dev')
msversion.addpkg('cx_Oracle','4.4-10.2.0.1','dist')
msversion.addpkg('ipython','0.8.2','dist')

import sys
import os

if __name__ == '__main__':
    DIR = os.path.dirname(os.path.realpath(__file__))
    sys.path.insert(0, os.path.realpath(os.path.join(DIR, '..', '..')))
    #import aquilon.aqdb.depends

from aquilon.aqdb.utils.shell import ipshell
from aquilon.aqdb.db_factory import db_factory, Base


dbf = db_factory()
Base.metadata.bind = dbf.engine
Base.metadata.bind.echo = True
s = dbf.session()

from aquilon.aqdb.utils.table_admin import *
ipshell()
{'fraction_non_alphanumeric': 0.1624203821656051, 'fraction_numerical': 0.01592356687898089, 'mean_word_length': 4.441558441558442, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '6977460', 'n_tokens_mistral': 501, 'n_tokens_neox': 481, 'n_words': 82}