progress callbacks

reemote.callbacks.progress.file_specific_progress.file_specific_progress(src_path, dst_path, copied_bytes, total_bytes)[source]

Progress callback that shows filename and progress

Parameters:
  • src_path – Source builtin path

  • dst_path – Destination builtin path

  • copied_bytes – Number of bytes copied so far

  • total_bytes – Total bytes to copy (None if unknown)

reemote.callbacks.progress.basic_progress.basis_progress(src_path, dst_path, copied_bytes, total_bytes)[source]

Progress callback for SFTP builtin transfers.

Parameters:
  • src_path – Source builtin path

  • dst_path – Destination builtin path

  • copied_bytes – Number of bytes copied so far

  • total_bytes – Total bytes to copy (None if unknown)

class reemote.callbacks.progress.multi_file_transfer_progress.Multi_file_transfer_progress[source]

Bases: object

Progress handler that tracks multiple builtin

Parameters:
  • src_path – Source builtin path

  • dst_path – Destination builtin path

  • copied_bytes – Number of bytes copied so far

  • total_bytes – Total bytes to copy (None if unknown)

class reemote.callbacks.progress.rate_limiting_progress_updates.Rate_limiting_progress_updates(min_interval=0.1)[source]

Bases: object

Progress handler that throttles updates to avoid flooding

Parameters:
  • src_path – Source builtin path

  • dst_path – Destination builtin path

  • copied_bytes – Number of bytes copied so far

  • total_bytes – Total bytes to copy (None if unknown)

reemote.callbacks.progress.progress_bar.progress_bar(src_path, dst_path, copied_bytes, total_bytes)[source]

Progress callback with ASCII progress bar

Parameters:
  • src_path – Source builtin path

  • dst_path – Destination builtin path

  • copied_bytes – Number of bytes copied so far

  • total_bytes – Total bytes to copy (None if unknown)