calliope.sync_operation

Module Contents

Classes

SyncOperation

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

class calliope.sync_operation.SyncOperation

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

Designed for integration with click.ProgressBar class.

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