class_docstr: a popen-based copier for parallel and distributed computing.
docstr: create a copier
  
  Inputs:
      name: a unique identifier (string) for the launcher
      source: hostname:path of original  [user@host:path is also valid]
      destination: hostname:path for copy  [user@host:path is also valid]
      launcher: remote service mechanism (i.e. scp, cp)  [default = 'scp']
      options: remote service options (i.e. -v, -P)  [default = '']
      background: run in background  [default = False]
      decode: ensure response is 'ascii'  [default = True]
      stdin: file-like object to serve as standard input for the remote process
          
docstr_tok: ["create","a","copier","Inputs",":","name",":","a","unique","identifier","(","string",")","for","the","launcher","source",":","hostname",":","path","of","original","[","user","@","host",":","path","is","also","valid","]","destination",":","hostname",":","path","for","copy","[","user","@","host",":","path","is","also","valid","]","launcher",":","remote","service","mechanism","(","i.e",".","scp",",","cp",")","[","default","=","'scp","'","]","options",":","remote","service","options","(","i.e",".","-v",",","-P",")","[","default","=","``","]","background",":","run","in","background","[","default","=","False","]","decode",":","ensure","response","is","'ascii","'","[","default","=","True","]","stdin",":","file-like","object","to","serve","as","standard","input","for","the","remote","process"]
code: def __init__(self, name=None, **kwds):
      """create a copier
  
      Inputs:
          name: a unique identifier (string) for the launcher
          source: hostname:path of original  [user@host:path is also valid]
          destination: hostname:path for copy  [user@host:path is also valid]
          launcher: remote service mechanism (i.e. scp, cp)  [default = 'scp']
          options: remote service options (i.e. -v, -P)  [default = '']
          background: run in background  [default = False]
          decode: ensure response is 'ascii'  [default = True]
          stdin: file-like object to serve as standard input for the remote process
      """
      self.launcher = kwds.pop("launcher", "scp")
      self.options = kwds.pop("options", "")
      self.source = kwds.pop("source", ".")
      self.destination = kwds.pop("destination", ".")
      super(Copier, self).__init__(name, **kwds)
      return
  
imports: from pathos.connection import Pipe
label_desc: Use image node_id 1 to create a new Copier object from inherited base classes: _Pipe with example: obj = Copier(name)