Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

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.

Files for lzwfile, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size lzwfile-0.1.5-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size lzwfile-0.1.5.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page