Skip to content
Sections
>> Trisquel >> Packages >> xolotl (13.0) >> python >> python3-lzf
[  xolotl  ]
[ Source: python-lzf  ]

Package: python3-lzf (0.2.6-1build1)

Python bindings to liblzf, a very fast compression library

This package is just a straight translation of the C API of liblzf to Python. It has two functions: compress() and decompress().

compress() accepts a string to compress and an optional maximum length for the output. If it cannot compress the string down to the requested size is to return None. The default behavior if no size is explicitly requested is to use one less than the length of the input, so the caller must always be prepared for a return value of None.

decompress() accepts a string and a size in which the uncompressed result must fit. If the uncompressed version doesn't fit in the specified size then the function returns None.

Other Packages Related to python3-lzf

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.17) [ppc64el]
    Package not available
    dep: libc6 (>= 2.27) [riscv64]
    dep: libc6 (>= 2.4) [armhf]
  • dep: liblzf1 (>= 1.5)
    Very small data compression library
  • dep: python3 (<< 3.15)
    interactive high-level object-oriented language (default python3 version)
    dep: python3 (>= 3.14~)

Download python3-lzf

Download for all available architectures
Architecture Package Size Installed Size Files
armhf 5.6 kB82 kB [list of files]
ppc64el 5.8 kB83 kB [list of files]
riscv64 5.9 kB27 kB [list of files]