OCFLZW Decompress
Project description
OCF LZW Decompress
Implements "OCF decompresion" as used by Cerner.
Python port of https://gist.github.com/pgodwin/7d66729444173146ad698d154f2b9b6c
from ocflzw_decompress.lzw import LzwDecompress
lzw = LzwDecompress()
uncompressed = lzw.decompress(blob_contents)
for bt in uncompressed:
uncompressed_text += chr(bt)
uncompressed_text = uncompressed_text.rstrip('\x00')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ocflzw-decompress-1.0.0.tar.gz
(15.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ocflzw-decompress-1.0.0.tar.gz.
File metadata
- Download URL: ocflzw-decompress-1.0.0.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
812113a19e50267e3ec2b23ffebc7787ef771992c72559308e6fa6a78a48f2d6
|
|
| MD5 |
75ea7afb6079f2c07b1f940aaee09ca7
|
|
| BLAKE2b-256 |
840b648018e7ba1dbfb8e52258c6bb0dc0adfe3a5846b554477e9a4570491af5
|
File details
Details for the file ocflzw_decompress-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ocflzw_decompress-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4034f129f50e305b7aed0f04c65a40a86c531e186f6b5b35a7e35b8baae07c02
|
|
| MD5 |
8f111e28c15137a5e65a19bf3d2f63c5
|
|
| BLAKE2b-256 |
d09704e351550a49d01223f7e56064f6d0a12c4e6e9403ccc540bb7d99af957a
|