class_docstr: The Repo Manager to manage the operator repos.
  
  Args:
      author (str): The author of the repo.
      repo (str): The name of the repo.
      root (str): The root url where the repo located.
docstr: Initialize the files under file_dest by moving and updating the text under file_temp.
  
  Args:
      file_temp (Union[str, Path]): The path to the template files.
      file_dest (Union[str, Path]): The path to the local repo to init.
  
  Raises:
      HTTPError: Raise error in request.
      OSError: Raise error in writing file.
code: def init_pyoperator(
      self, file_temp: Union[str, Path], file_dest: Union[str, Path]
  ) -> None:
      """Initialize the files under file_dest by moving and updating the text under file_temp.
  
      Args:
          file_temp (Union[str, Path]): The path to the template files.
          file_dest (Union[str, Path]): The path to the local repo to init.
  
      Raises:
          HTTPError: Raise error in request.
          OSError: Raise error in writing file.
      """
      repo_temp = self._temp["pyoperator"]
  
      temp_module = repo_temp.replace("-", "_")
      repo_module = self._repo.replace("-", "_")
  
      ori_str_list = [
          f"namespace.{temp_module}",
          temp_module,
          repo_temp,
          "".join(x.title() for x in repo_temp.split("-")),
      ]
      tar_str_list = [
          f"{self._author}.{repo_module}",
          repo_module,
          self._repo,
          "".join(x.title() for x in self._repo.split("-")),
      ]
      for file in Path(file_temp).glob("*"):
          if file.name.endswith(
              (".md", ".yaml", "template.py", "__init__.py")
          ):
              new_file = Path(file_dest) / str(file.name).replace(
                  temp_module, repo_module
              )
              self.hub_utils.update_text(
                  ori_str_list, tar_str_list, str(file), str(new_file)
              )
          elif file.name != ".git":
              os.rename(file, Path(file_dest) / file.name)
  
file_path: towhee/towhee/hub/operator_manager.py
imports: import os
  from typing import Union
  from pathlib import Path
  from towhee.hub.repo_manager import RepoManager
  from towhee.utils.log import engine_log
label_desc: Use image node_id 5 for calling the OperatorManager obj's underlying member method code with example usage: obj.init_pyoperator(file_temp, file_dest) without return types