Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 402 Bytes

README.markdown

File metadata and controls

18 lines (11 loc) · 402 Bytes

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