Skip to content

anywhereco/pyfastlz-infernitydev

 
 

Repository files navigation

FastLZ

Python wrapper for FastLZ, a lightning-fast lossless compression library.

Installation

To install fastlz, simply:

$ pip install pyfastlz-infernitydev

Usage

Compressing is quite simple:

from pyfastlz import compress

compressed, uncompressed_length = compress(uncompressed_bytes)

And decompressing uses the length from earlier:

from pyfastlz import decompress

decompressed = decompress(compressed, uncompressed_length)

About

An extended wrapper for FastLZ which takes in and returns the length seperately, instead of in the bytes field

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 53.9%
  • C 46.1%