Skip to content
Sections
>> Trisquel >> Packages >> nabia >> python >> python3-indexed-gzip
etiona  ] [  nabia  ] [  aramo  ]
[ Source: indexed-gzip  ]

Package: python3-indexed-gzip (0.8.6-1.1build1)

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.

Other Packages Related to python3-indexed-gzip

  • depends
  • recommends
  • suggests
  • dep: cython3
    C-Extensions for Python 3
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.28) [armhf]
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
    dep: python3 (<< 3.9)
    dep: python3 (>= 3.8~)
  • dep: python3-numpy (>= 1:1.16.0~rc1)
    Fast array facility to the Python 3 language
  • dep: python3-numpy-abi9
    virtual package provided by python3-numpy
  • dep: zlib1g (>= 1:1.2.2.4)
    compression library - runtime

Download python3-indexed-gzip

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 411.9 kB1304 kB [list of files]
armhf 375.4 kB870 kB [list of files]