1 line
21 KiB
JSON
1 line
21 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "label": "search.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L1"}, {"id": "search_transformedhit", "label": "TransformedHit", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L26"}, {"id": "typeddict", "label": "TypedDict", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "search_searchcommand", "label": "SearchCommand", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L35"}, {"id": "command", "label": "Command", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "sessioncommandmixin", "label": "SessionCommandMixin", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "search_searchcommand_add_options", "label": ".add_options()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L42"}, {"id": "search_searchcommand_run", "label": ".run()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L54"}, {"id": "search_searchcommand_search", "label": ".search()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L70"}, {"id": "search_transform_hits", "label": "transform_hits()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L88"}, {"id": "search_print_dist_installation_info", "label": "print_dist_installation_info()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L116"}, {"id": "search_get_installed_distribution", "label": "get_installed_distribution()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L133"}, {"id": "search_print_results", "label": "print_results()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L138"}, {"id": "search_highest_version", "label": "highest_version()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L177"}, {"id": "search_rationale_36", "label": "Search for PyPI packages whose name or summary contains <query>.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L36"}, {"id": "search_rationale_89", "label": "The list from pypi is really a list of versions. We want a list of packages", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L89"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "shutil", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "textwrap", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "xmlrpc_client", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "collections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "optparse", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "pip_vendor_packaging_version", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "pip_internal_cli_base_command", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "pip_internal_cli_req_command", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "pip_internal_cli_status_codes", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L16", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "pip_internal_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "pip_internal_metadata", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "pip_internal_metadata_base", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "pip_internal_models_index", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L20", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "pip_internal_network_xmlrpc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "pip_internal_utils_logging", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "pip_internal_utils_misc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L23", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "search_transformedhit", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L26", "weight": 1.0}, {"source": "search_transformedhit", "target": "typeddict", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L26", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "search_searchcommand", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L35", "weight": 1.0}, {"source": "search_searchcommand", "target": "command", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L35", "weight": 1.0}, {"source": "search_searchcommand", "target": "sessioncommandmixin", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L35", "weight": 1.0}, {"source": "search_searchcommand", "target": "search_searchcommand_add_options", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L42", "weight": 1.0}, {"source": "search_searchcommand", "target": "search_searchcommand_run", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L54", "weight": 1.0}, {"source": "search_searchcommand", "target": "search_searchcommand_search", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L70", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "search_transform_hits", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L88", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "search_print_dist_installation_info", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L116", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "search_get_installed_distribution", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L133", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "search_print_results", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L138", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_commands_search_py", "target": "search_highest_version", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L177", "weight": 1.0}, {"source": "search_searchcommand_run", "target": "search_searchcommand_search", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L58", "weight": 1.0}, {"source": "search_searchcommand_run", "target": "search_transform_hits", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L59", "weight": 1.0}, {"source": "search_searchcommand_run", "target": "search_print_results", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L65", "weight": 1.0}, {"source": "search_transform_hits", "target": "search_highest_version", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L110", "weight": 1.0}, {"source": "search_print_results", "target": "search_highest_version", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L149", "weight": 1.0}, {"source": "search_print_results", "target": "search_get_installed_distribution", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L171", "weight": 1.0}, {"source": "search_print_results", "target": "search_print_dist_installation_info", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L172", "weight": 1.0}, {"source": "search_rationale_36", "target": "search_searchcommand", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L36", "weight": 1.0}, {"source": "search_rationale_89", "target": "search_transform_hits", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L89", "weight": 1.0}], "raw_calls": [{"caller_nid": "search_searchcommand_add_options", "callee": "add_option", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L43"}, {"caller_nid": "search_searchcommand_add_options", "callee": "insert_option_group", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L52"}, {"caller_nid": "search_searchcommand_run", "callee": "CommandError", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L56"}, {"caller_nid": "search_searchcommand_run", "callee": "isatty", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L62"}, {"caller_nid": "search_searchcommand_run", "callee": "get_terminal_size", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L63"}, {"caller_nid": "search_searchcommand_search", "callee": "get_default_session", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L73"}, {"caller_nid": "search_searchcommand_search", "callee": "PipXmlrpcTransport", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L75"}, {"caller_nid": "search_searchcommand_search", "callee": "ServerProxy", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L76"}, {"caller_nid": "search_searchcommand_search", "callee": "CommandError", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L83"}, {"caller_nid": "search_searchcommand_search", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L84"}, {"caller_nid": "search_transform_hits", "callee": "OrderedDict", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L94"}, {"caller_nid": "search_transform_hits", "callee": "keys", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L100"}, {"caller_nid": "search_transform_hits", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L107"}, {"caller_nid": "search_transform_hits", "callee": "list", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L113"}, {"caller_nid": "search_transform_hits", "callee": "values", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L113"}, {"caller_nid": "search_print_dist_installation_info", "callee": "indent_log", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L118"}, {"caller_nid": "search_print_dist_installation_info", "callee": "write_output", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L120"}, {"caller_nid": "search_print_dist_installation_info", "callee": "write_output", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L122"}, {"caller_nid": "search_print_dist_installation_info", "callee": "parse_version", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L123"}, {"caller_nid": "search_print_dist_installation_info", "callee": "write_output", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L124"}, {"caller_nid": "search_print_dist_installation_info", "callee": "write_output", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L130"}, {"caller_nid": "search_get_installed_distribution", "callee": "get_default_environment", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L134"}, {"caller_nid": "search_get_installed_distribution", "callee": "get_distribution", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L135"}, {"caller_nid": "search_print_results", "callee": "max", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L147"}, {"caller_nid": "search_print_results", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L149"}, {"caller_nid": "search_print_results", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L149"}, {"caller_nid": "search_print_results", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L149"}, {"caller_nid": "search_print_results", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L159"}, {"caller_nid": "search_print_results", "callee": "wrap", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L164"}, {"caller_nid": "search_print_results", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L165"}, {"caller_nid": "search_print_results", "callee": "write_output", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L170"}, {"caller_nid": "search_highest_version", "callee": "max", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/commands/search.py", "source_location": "L178"}]} |