<commit_before>from sys import argv, exit
from . import print_function


if len(argv) == 1:
    from textwrap import dedent
    usage = '''
    Usage: python -m ansimarkup <arg> [<arg> ...]

    Example usage:
      python -m ansimarkup '<b>Bold</b>' '<r>Red</r>'
      python -m ansimarkup '<b><r>Bold Red</r></b>'
    '''

    print(dedent(usage).strip())
    exit(0)
else:
    print_function(*argv[1:])<commit_msg>Fix __main__.py<commit_after>from sys import argv, exit
from . import ansiprint


if len(argv) == 1:
    from textwrap import dedent
    usage = '''
    Usage: python -m ansimarkup <arg> [<arg> ...]

    Example usage:
      python -m ansimarkup '<b>Bold</b>' '<r>Red</r>'
      python -m ansimarkup '<b><r>Bold Red</r></b>'
    '''

    print(dedent(usage).strip())
    exit(0)
else:
    ansiprint(*argv[1:])
{'fraction_non_alphanumeric': 0.17796610169491525, 'fraction_numerical': 0.007263922518159807, 'mean_word_length': 2.9569377990430623, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '6680767', 'n_tokens_mistral': 315, 'n_tokens_neox': 302, 'n_words': 76}