1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
Source: indexed-gzip
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Michael Hanke <mih@debian.org>,
Yaroslav Halchenko <debian@onerussian.com>,
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.
|