This is a very small module to read gzip
files. It was inspired by a
discussion on reddit.
It starts a subprocess that fills a queue with uncompressed data and the main class parses lines from this queue.
Usage:
import fgzip
with fgzip.open("my_large_file.gz") as f:
for line in f:
print line