1 line
12 KiB
JSON
1 line
12 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "label": "main_parser.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L1"}, {"id": "main_parser_create_main_parser", "label": "create_main_parser()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L21"}, {"id": "main_parser_identify_python_interpreter", "label": "identify_python_interpreter()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L52"}, {"id": "main_parser_parse_command", "label": "parse_command()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L71"}, {"id": "main_parser_rationale_1", "label": "A single place for constructing and exposing the main parser", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L1"}, {"id": "main_parser_rationale_22", "label": "Creates and returns the main parser for pip's CLI", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L22"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "target": "subprocess", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "target": "pip_vendor_rich_markup", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "target": "pip_internal_build_env", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "target": "pip_internal_cli", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "target": "pip_internal_cli_parser", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "target": "pip_internal_commands", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "target": "pip_internal_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "target": "pip_internal_utils_misc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L16", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "target": "main_parser_create_main_parser", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "target": "main_parser_identify_python_interpreter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L52", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "target": "main_parser_parse_command", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L71", "weight": 1.0}, {"source": "main_parser_parse_command", "target": "main_parser_create_main_parser", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L72", "weight": 1.0}, {"source": "main_parser_parse_command", "target": "main_parser_identify_python_interpreter", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L86", "weight": 1.0}, {"source": "main_parser_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_pip_internal_cli_main_parser_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L1", "weight": 1.0}, {"source": "main_parser_rationale_22", "target": "main_parser_create_main_parser", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L22", "weight": 1.0}], "raw_calls": [{"caller_nid": "main_parser_create_main_parser", "callee": "ConfigOptionParser", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L24"}, {"caller_nid": "main_parser_create_main_parser", "callee": "UpdatingDefaultsHelpFormatter", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L27"}, {"caller_nid": "main_parser_create_main_parser", "callee": "get_prog", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L29"}, {"caller_nid": "main_parser_create_main_parser", "callee": "disable_interspersed_args", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L31"}, {"caller_nid": "main_parser_create_main_parser", "callee": "get_pip_version", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L33"}, {"caller_nid": "main_parser_create_main_parser", "callee": "make_option_group", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L36"}, {"caller_nid": "main_parser_create_main_parser", "callee": "add_option_group", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L37"}, {"caller_nid": "main_parser_create_main_parser", "callee": "escape", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L44"}, {"caller_nid": "main_parser_create_main_parser", "callee": "items", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L45"}, {"caller_nid": "main_parser_create_main_parser", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L47"}, {"caller_nid": "main_parser_identify_python_interpreter", "callee": "exists", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L56"}, {"caller_nid": "main_parser_identify_python_interpreter", "callee": "isdir", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L57"}, {"caller_nid": "main_parser_identify_python_interpreter", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L61"}, {"caller_nid": "main_parser_identify_python_interpreter", "callee": "exists", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L62"}, {"caller_nid": "main_parser_parse_command", "callee": "parse_args", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L81"}, {"caller_nid": "main_parser_parse_command", "callee": "CommandError", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L88"}, {"caller_nid": "main_parser_parse_command", "callee": "get_runnable_pip", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L94"}, {"caller_nid": "main_parser_parse_command", "callee": "extend", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L96"}, {"caller_nid": "main_parser_parse_command", "callee": "run", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L103"}, {"caller_nid": "main_parser_parse_command", "callee": "CommandError", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L106"}, {"caller_nid": "main_parser_parse_command", "callee": "exit", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L107"}, {"caller_nid": "main_parser_parse_command", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L111"}, {"caller_nid": "main_parser_parse_command", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L112"}, {"caller_nid": "main_parser_parse_command", "callee": "exit", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L113"}, {"caller_nid": "main_parser_parse_command", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L116"}, {"caller_nid": "main_parser_parse_command", "callee": "print_help", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L117"}, {"caller_nid": "main_parser_parse_command", "callee": "exit", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L118"}, {"caller_nid": "main_parser_parse_command", "callee": "get_similar_commands", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L124"}, {"caller_nid": "main_parser_parse_command", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L128"}, {"caller_nid": "main_parser_parse_command", "callee": "CommandError", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L130"}, {"caller_nid": "main_parser_parse_command", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L130"}, {"caller_nid": "main_parser_parse_command", "callee": "remove", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", "source_location": "L134"}]} |