pex.post.push.bash_echo

Module Contents

class pex.post.push.bash_echo.BashEcho

Bases: object

Subclass of pex.post.push module.

This subclass of pex.post.push module is intended for providing implementation of bash echo method of pushing file to sender.

push(sender: Callable[Ellipsis, Any], data: bytes, location: str, linemax: int = 100) None

Push file to sender using bash echo method.

Parameters:
  • sender (Callable[..., Any]) – sender to push file to

  • data (bytes) – data to push to file on sender

  • location (str) – location of file to push data to

  • linemax (int) – max command line size for each chunk

Return None:

None