code: def create_default_project(path: Path):
      dot_remote = path / ".remote"
      if not dot_remote.exists():
          with monit.section(f"Creating {dot_remote}"):
              dot_remote.mkdir()
  
      configs_file = dot_remote / "configs.yaml"
      configs = {}
      server = {}
      if not configs_file.exists():
          with monit.section(f"Generating configurations"):
              logger.log()
              configs["name"] = input("Project name: ").strip()
              server["hostname"] = input(
                  "Hostname or public ip of the remote computer: "
              ).strip()
              server["username"] = input(
                  "Username of the remote computer (ubuntu): "
              ).strip()
              if server["username"] == "":
                  server["username"] = "ubuntu"
              server["private_key"] = input(
                  "Path to the private key file:\n"
                  "(leave blank if you've setup authorized keys)\n"
              ).strip()
              if server["private_key"] == "":
                  del server["private_key"]
  
              configs["servers"] = {"default": server}
              with open(str(configs_file), "w") as f:
                  f.write(yaml.dump(configs, default_flow_style=False))
  
      exclude_file = dot_remote / "exclude.txt"
      if not exclude_file.exists():
          with monit.section(f"Creating boilerplate exclude file"):
              with open(str(exclude_file), "w") as f:
                  f.write(
                      "\n".join(
                          [
                              ".remote",
                              ".git",
                              "__pycache__",
                              ".ipynb_checkpoints",
                              "logs",
                              ".DS_Store",
                              ".*.swp",
                              "*.egg-info/",
                              ".idea",
                          ]
                      )
                  )
  
      logger.log(
          [
              "We have created a standard configurations file and"
              " exclude list specifying files and folders that shouldn't be copied to server."
              " You can edit them at ",
              (".remote/configs.yaml", Text.meta),
              " and ",
              (".remote/exclude.txt", Text.meta),
          ]
      )
  
imports: from pathlib import Path
  import yaml
  from labml import monit, logger
  from labml.logger import Text
label_desc: Use image node_id 1 for calling a global function with example usage: create_default_project(path) without return types