<commit_before>#!/usr/bin/python

# cli53
# Command line script to administer the Amazon Route 53 dns service

import os, sys
import re
import itertools
from cStringIO import StringIO
from time import sleep

# needs latest boto from github: http://github.com/boto/boto
# git clone git://github.com/boto/boto 
try:
    import boto.route53, boto.jsonresponse, boto.exception
except ImportError:
    print "Please install latest boto:"
    print "git clone boto && cd boto && python setup.py install"
    sys.exit(-1)

import argparse
from argparse import ArgumentTypeError
from types import StringTypes
try:
    import xml.etree.ElementTree as et
except ImportError:
    import elementtree.ElementTree as et

try:
    import dns.zone, dns.rdataset, dns.node, dns.rdtypes, dns.rdataclass
    import dns.rdtypes.ANY.SOA, dns.rdtypes.ANY.SPF<commit_msg>Use env for python path. Closes #13<commit_after>#!/usr/bin/env python

# cli53
# Command line script to administer the Amazon Route 53 dns service

import os, sys
import re
import itertools
from cStringIO import StringIO
from time import sleep

# needs latest boto from github: http://github.com/boto/boto
# git clone git://github.com/boto/boto 
try:
    import boto.route53, boto.jsonresponse, boto.exception
except ImportError:
    print "Please install latest boto:"
    print "git clone boto && cd boto && python setup.py install"
    sys.exit(-1)

import argparse
from argparse import ArgumentTypeError
from types import StringTypes
try:
    import xml.etree.ElementTree as et
except ImportError:
    import elementtree.ElementTree as et

try:
    import dns.zone, dns.rdataset, dns.node, dns.rdtypes, dns.rdataclass
    import dns.rdtypes.ANY.SOA, dns.rdtypes.ANY.SPF
{'fraction_non_alphanumeric': 0.08130081300813008, 'fraction_numerical': 0.009291521486643438, 'mean_word_length': 4.052785923753666, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '7086237', 'n_tokens_mistral': 566, 'n_tokens_neox': 556, 'n_words': 186}