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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file lzwfile-0.1.4.tar.gz.

File metadata

  • Download URL: lzwfile-0.1.4.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4

File hashes

Hashes for lzwfile-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3902a9f74ef2e8f3d607bc306319d7065d49d52441fc05b77bad4bffd8ae5ebc
MD5 55341503cb97cee40379e5b1c276dc01
BLAKE2b-256 680594299c5dc9d333207061236e3bf1f54eb8a9b8bb18bf04b6f225130d30a8

See more details on using hashes here.

File details

Details for the file lzwfile-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: lzwfile-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4

File hashes

Hashes for lzwfile-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 34d0c56f66f9b0806400338442385a66d4c2505fe74b900fa43909a0ba8a3ead
MD5 08fa8bc97f9091dec6b270e401c5d10b
BLAKE2b-256 b24be9dd78182f01a40a7ae18760af8a634879307eb8fb560e0c6a577b31a102

See more details on using hashes here.

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