For zipfile-xz information, see xz branch.
zipfile-ppmd
Monkey patch the standard zipfile module to enable PPMd support.
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 pyppmd for ppmd bindings. Note that 0.16.0+ is required, which is not released yet. Please do python3 -m pip install git+https://github.com/miurahr/pyppmd.
Note: if you need Python2, use zipfile39 instead (it is also compatible with Python3).
Installation
pip install zipfile-ppmd
Usage
Anywhere in a Python codebase:
import zipfile_ppmd # This has the side effect of patching the zipfile module to support PPMd
Alternatively, zipfile_ppmd re-exports the zipfile API, as a convenience:
import zipfile_ppmd as zipfile
zipfile.ZipFile(...)
Compression example:
import zipfile_ppmd as zipfile
zf = zipfile.ZipFile('/tmp/test.zip', 'w', zipfile.ZIP_PPMD, compresslevel=5)
zf.write('large_file.img')
Metadata
Release files for zipfile-ppmd 0.0.3.3
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-ppmd-0.0.3.3.tar.gz | 410.1 kB | Details |
Release files / zipfile-ppmd-0.0.3.3.tar.gz
| Download URL | zipfile-ppmd-0.0.3.3.tar.gz |
|---|---|
| Size | 410.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8a13e6fb8692e57465597d127c764cc36d199734113b5c73e5ae1e00991a92d
|
|
BLAKE2b-256 checksum How to use checksums |
ef9fdfa79146293d0e413a4693e10cddbcd5772cc28658ba2cd344115c8433ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.7.0 requests/2.6.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/2.7.13
|