Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> python >> python-indexed-gzip
etiona  ]
[ 原始碼: indexed-gzip  ]

套件: python-indexed-gzip (0.6.1-1)

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 2 module.

其他與 python-indexed-gzip 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: cython
    C-Extensions for Python
  • dep: libc6 (>= 2.4)
    GNU C Library: Shared libraries
    同時作為一個虛擬套件由這些套件提供: libc6-udeb
  • dep: python
    interactive high-level object-oriented language (default version)
    dep: python (<< 2.8)
    dep: python (>= 2.7~)
  • dep: python-numpy (>= 1:1.13.1)
    Numerical Python adds a fast array facility to the Python language
  • dep: python-numpy-abi9
    本虛擬套件由這些套件提供: python-numpy
  • dep: zlib1g (>= 1:1.2.2.4)
    compression library - runtime

下載 python-indexed-gzip

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
i386 218.9 kB896 kB [文件列表]