Skip to main content

Python module for decoding compressed lzw files

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lzwfile-0.1.4.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

lzwfile-0.1.4-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page