calliope.sync_operation

Classes

SyncOperation

Base class for operations that do page-based downloads of remote data.

Module Contents

class calliope.sync_operation.SyncOperation

Base class for operations that do page-based downloads of remote data.

Designed for integration with click.ProgressBar class.

abstractmethod prepare(page_size)
abstractmethod pages()
abstractmethod process_page(page)
run(enable_progressbar=True, progressbar_stream=sys.stderr, progressbar_label=None)