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.5.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lzwfile-0.1.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lzwfile-0.1.5.tar.gz
  • Upload date:
  • Size: 3.1 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.5.tar.gz
Algorithm Hash digest
SHA256 645ce37402c5afbb1a02b09028eea3764c24455759023ba91431ecfad8fc979e
MD5 3d74461765c138b65f01daced04a6324
BLAKE2b-256 ff8db149958408b1937230cb688896ee5033639fcbefd21b489ee1af058897af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lzwfile-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f77bf8f5cb68af272a641ea581a92f3bb032f4b57e7b59bfa76b8a5774921df4
MD5 3f786c8d0b397711a74843da206d6869
BLAKE2b-256 51b9839fd36e8fd4ad2883eb39feddc3ea297093f43eac4435396931094d58d2

See more details on using hashes here.

Supported by

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