lump.http module

class lump.http.RequestIterator(url, chunk_size=20480, **kwargs)[source]

Bases: object

Iterates over chunk_size chunks of the contents of a file, provides a tqdm progress indicator.

as_stream()[source]

Returns a stream of the file contents.

Returns:lump.stream.IteratorStream