a binding for blast/pklib (dclimplode)
Project description
[![PyPI](https://img.shields.io/pypi/v/dclimplode)](https://pypi.org/project/dclimplode/)
## dclimplode
a (quick) binding for https://github.com/madler/zlib/blob/master/contrib/blast/blast.c and https://github.com/ladislav-zezula/StormLib/blob/master/src/pklib/implode.c
DCL stands for PKWARE(R) Data Compression Library.
` o = dclimplode.compressobj() s = o.compress(b'hello')+o.flush() o = dclimplode.decompressobj() o.decompress(s) == b'hello' `
## tested versions
Python 2.7
Python 3.9
PyPy [2.7] 7.3.3
- PyPy [3.7] 7.3.5
For PyPy2, pip needs to be 20.1.x cf https://github.com/pypa/pip/issues/8653
PyPy needs to be 7.3.1+ cf https://github.com/pybind/pybind11/issues/2436
Pyston [3.8] 2.3
## special thanks
https://github.com/JoshVarga/blast showed dclimplode compression by Ladislav Zezula (I knew dclimplode decompression in zlib for a long time though)
unlike [deflate64 infback9](https://github.com/brianhelba/zipfile-deflate64/pull/18), making dclimplode blast resumable does not look possible (for me). instead I used threaded decoder. basic idea is from https://github.com/miurahr/pyppmd/pull/33#issuecomment-894676975 (‘s linked commit f224a04).
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
Built Distributions
Hashes for dclimplode-0.0.0.3-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55f10b18942bff03831973917387a27673a4f9fe9cfedc95e8dfd796c2506421 |
|
MD5 | 43d49b13c2940159c4f1f6243087422d |
|
BLAKE2b-256 | 1076c60406ef399fa4db779ac43d9a62210becb73ade0c6975a47deb63ba2dee |
Hashes for dclimplode-0.0.0.3-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d06c2f3f1a181f2d38c8af075ad30101d8a7e777893738ba945aedae50cadbc |
|
MD5 | 9ad80e47061496df13839570001815d3 |
|
BLAKE2b-256 | d2dfb542b79fb0a9a653c82e5945e124a331e3e03d82847eb97cd3f334ceacbf |
Hashes for dclimplode-0.0.0.3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f0ffd9b61e15b3015436dcd8c4342efb3709970a62aa6d828186d7fbc9bfe90 |
|
MD5 | 8e7d9575cfa6f8e05512d7b0a64980f5 |
|
BLAKE2b-256 | d965bb92858cea0f1ebe981fd98db4a0d9f4c99b98cc69abfece557f7c3382d4 |
Hashes for dclimplode-0.0.0.3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 592fc983bf7f6bfb41421cf60f9593f8f04b21c98d924f8e7f8d5432f28efb25 |
|
MD5 | 22519af5915d20f9d5e40da6a1704066 |
|
BLAKE2b-256 | 66fe6bec28ead95a75914f06cbc82cfe974d3211e61add65b4a036f96288a58c |
Hashes for dclimplode-0.0.0.3-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4da6cf058cd2da159205b95d8b523e9ec4278f2e90ee6447ddd7718e200d2e8 |
|
MD5 | b25a7e21ac241ddc194907d034c71502 |
|
BLAKE2b-256 | d75a9c015564f2c24a118977b0f117b3e42f999bdbed971df0d4e65bb0cc9bf9 |
Hashes for dclimplode-0.0.0.3-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd9538c0ad8ad4faa3aa4c9fb0d4428033961edb621c80d860386227f464f5e9 |
|
MD5 | 8acb3fa3acf980aee8033fbe50ee3d98 |
|
BLAKE2b-256 | 6dff99d3f4610a587f85ea7c4e63b56e8c7614668fe14d4583a311b1a2f53edc |