Module Contents


Bases: object

Subclass of module.

This subclass of module is intended for providing implementation of 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.

  • 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: