zipfile-dclimplode
Monkey patch the standard zipfile module to enable DCL Implode support.
DCL stands for PKWARE(R) Data Compression Library.
Based on zipfile-deflate64 and zipfile-zstandard, which provides similar functionality but for the deflate64 algorithm. Unlike zipfile-deflate64, this package supports both compression and decompression.
Requires dclimplode for dclimplode bindings.
Note: if you need Python2, use zipfile39 instead (it is also compatible with Python3).
Installation
pip install zipfile-dclimplode
Usage
Anywhere in a Python codebase:
import zipfile_dclimplode # This has the side effect of patching the zipfile module to support DCL Implode
Alternatively, zipfile_dclimplode re-exports the zipfile API, as a convenience:
import zipfile_dclimplode as zipfile
zipfile.ZipFile(...)
Compression example:
import zipfile_dclimplode as zipfile
zf = zipfile.ZipFile('/tmp/test.zip', 'w', zipfile.ZIP_DCLIMPLODED, compresslevel=3)
zf.write('large_file.img')
compresslevel: 1,2,3 (binary) 11,12,13 (ascii)
Metadata
Release files for zipfile-dclimplode 0.0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zipfile-dclimplode-0.0.3.1.tar.gz | 4.9 kB | Details |
Release files / zipfile-dclimplode-0.0.3.1.tar.gz
| Download URL | zipfile-dclimplode-0.0.3.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06c853c973a6631e95d779045e1b4d11eb61cb11fdb02f5882bc2f50fa84866c
|
|
BLAKE2b-256 checksum How to use checksums |
5502c55b601aadc69c562bb34ea1bf1cf7500fa9f45ec43227c912766e31c4c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/2.7.17
|