You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful if HistogramLogReader would accept file-like objects (and not just filenames) as input. This would allow reading a log directly from a zip file, for example.
Here is an example of the desired usage.
# here using zipfile from the python stdlibwithzipfile.ZipFile(file="my_filename.zip",mode='r') asarchive:
fd=archive.open('my_hist.hlog')
accumulated_histogram=hdrh.histogram.HdrHistogram(LOWEST, HIGHEST, SIGNIFICANT)
log_reader=HistogramLogReader(fd, accumulated_histogram)