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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: lzwfile-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d8a5b8f160cc5f321fee2f6a952bd50be32bd6b23707fc8130f82c268725b132
MD5 063fb01a36b5272bb086c7c460a18934
BLAKE2b-256 8d1da48c9b2a69a82a6e220c96471b3e38953e54646f3ace1e21b22a9a0905df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lzwfile-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f31d7eb7cfa57610ca78eec5aac75b853b35debfe59b89ef1a732e2fee2b7f32
MD5 33a5ff08da9dff69524e61b53aa13a27
BLAKE2b-256 19ae8d7942953b16f897aaa3e53502c0eb4165dace0686abd91d14116befec9e

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