webclient package API

Submodules

webclient.bytesgen module

class webclient.bytesgen.BytesGen(chunk_bytes: int, max_bytes: int, min_bytes: int, target_secs: int, max_secs: int)[source]

Bases: object

Generate random bytes in chunks to be uploaded by a Web client. Every next chunk is calculated from the size and time the previous one took.

property results: list

Generate results to by stored by sbws.

set_delta_secs(delta_secs: float) None[source]