<commit_before>"""
TODO: DOCSTRING
"""

import argparse
import pip2.commands as commands

parser = argparse.ArgumentParser(prog='pip2')
subparsers = parser.add_subparsers()

parser_install = subparsers.add_parser('install')
parser_install.add_argument('package_name')
parser_install.set_defaults(func=commands.install)

parser_uninstall = subparsers.add_parser('uninstall')
parser_uninstall.add_argument('package_name')
parser_uninstall.set_defaults(func=commands.uninstall)

parser_search = subparsers.add_parser('search')
parser_search.add_argument('package_name')
parser_search.set_defaults(func=commands.search)
<commit_msg>Fixed imports again. Changed how functions are called based on arguments.<commit_after>"""
TODO: DOCSTRING
"""

import argparse
import commands

parser = argparse.ArgumentParser(prog='pip2')
subparsers = parser.add_subparsers()

parser_install = subparsers.add_parser('install')
parser_install.add_argument('package_name')
parser_install.set_defaults(func=commands.install)

parser_uninstall = subparsers.add_parser('uninstall')
parser_uninstall.add_argument('package_name')
parser_uninstall.set_defaults(func=commands.uninstall)

parser_search = subparsers.add_parser('search')
parser_search.add_argument('package_name')
parser_search.set_defaults(func=commands.search)

{'fraction_non_alphanumeric': 0.10854503464203233, 'fraction_numerical': 0.0023094688221709007, 'mean_word_length': 10.607142857142858, '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': '2584505', 'n_tokens_mistral': 406, 'n_tokens_neox': 399, 'n_words': 58}