docs: def get_parent_path(index=2):  # type: (int) -> str
      """
      Get the caller's parent path to sys.path
      If the caller is a CLI through stdin, the parent of the current working
      directory is used
      """
      try:
          path = _caller_path(index)
      except RuntimeError:
          path = os.getcwd()
      path = os.path.abspath(os.path.join(path, os.pardir))
      return path