semvec/pypi-packages huggingface dataset:
pyfastlz-infernitydev 0.0.3
An extended wrapper for FastLZ which takes in and returns the length seperately, instead of in the bytes field
License: BSD License
Requires Python: >=3.9

FastLZ
======

Python wrapper for [FastLZ], a lightning-fast lossless compression library.


Installation
------------

To install fastlz, simply:

```bash
$ pip install pyfastlz-infernitydev
```

[FastLZ]: https://github.com/ariya/FastLZ


Usage
-----

Compressing is quite simple:
```py
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)
```