The indexed_gzip project is a Python extension which aims to provide a
drop-in replacement for the built-in Python gzip.GzipFile class,
the IndexedGzipFile. This package was written to allow fast random
access of compressed NIFTI image files (for which GZIP is the de-facto
compression standard), but will work with any GZIP file.