Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/JJJados/lzwfile

Python module for decompressing lzw files.
https://github.com/JJJados/lzwfile

Last synced: 30 days ago
JSON representation

Python module for decompressing lzw files.

Awesome Lists containing this project

README

        

# LZWFILE
Python module for decoding lzw files. This is based directly off Mark Adler's C library for decoding lzw files.
Some slight modifications were done for my own use case.

## Getting Started

```Python
from lzwfile import decompress

# File name can be used if located within same directory,
# if not please use the absolute path.

file_name = 'compressed_file.Z'

decompressed_data = decompress(file_name)
```

## Notes

I'm planning on adding encoding functionality to this package as well to further my understanding
of the lzw compression algorithm.