code: def parse(str_in):
      str_in = str_in.replace("\n", "")
      import_ops = ["==", "<", "<=", ">", ">="]
      if "mod_name=" in str_in:
          mod_name = (
              str_in.split("mod_name=")[-1].split(" ")[0].split(",")[0]
          )
      else:
          mod_name = str_in.split("=")[0].split(" ")[0]
      expected_version, expected_op = None, None
      for import_op in import_ops:
          if import_op in str_in:
              lib_name, expected_version = str_in.split(import_op)
              if "mod_name=" not in str_in:
                  mod_name = lib_name
              expected_version = expected_version.split(" ")[0].split(
                  ","
              )[0]
              expected_op = import_op
      return mod_name, expected_version, expected_op
  
file_path: ivy/scripts/test_dependencies.py
imports: import os
  import argparse
  import termcolor
  import importlib
  import faulthandler
  from packaging import version
label_desc: Use image node_id 1 for calling a global function with example usage: parse(str_in) and returns: mod_name,  expected_version,  expected_op