Source: indexed-gzip Maintainer: Debian Python Team Uploaders: Michael Hanke , Yaroslav Halchenko , Section: python Priority: optional Build-Depends: debhelper-compat (= 13), zlib1g-dev, cython3, dh-python, python3-all-dev, python3-pytest, python3-pytest-runner, python3-setuptools, python3-numpy, python3-nibabel Standards-Version: 4.6.2 Homepage: https://github.com/pauldmccarthy/indexed_gzip Rules-Requires-Root: no Vcs-Browser: https://salsa.debian.org/python-team/packages/indexed-gzip Vcs-Git: https://salsa.debian.org/python-team/packages/indexed-gzip.git Package: python3-indexed-gzip Architecture: any Depends: cython3, python3-numpy, ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends}, Provides: ${python3:Provides} Description: fast random access of gzip files in Python Drop-in replacement `IndexedGzipFile` for the built-in Python `gzip.GzipFile` class that does not need to start decompressing from the beginning of the file when for every `seek()`. It gets around this performance limitation by building an index, which contains *seek points*, mappings between corresponding locations in the compressed and uncompressed data streams. Each seek point is accompanied by a chunk (32KB) of uncompressed data which is used to initialise the decompression algorithm, allowing to start reading from any seek point. If the index is built with a seek point spacing of 1MB, only 512KB (on average) of data have to be decompressed to read from any location in the file. . This package provides the Python 3 module.