pipette.transmit

pipette.transmit(url: str, *, path: str | PathLike[str] = '.', pattern: str | None = None, quiet: bool = False) list[str]

Download files from a remote directory.

Parameters:
  • url (str) – URL to a remote directory.

  • path (str or os.PathLike) – Local directory to save files.

  • pattern (str, optional) – Glob pattern to filter files.

  • quiet (bool) – Suppress messages.

Returns:

Paths to downloaded files.

Return type:

list of str