pyzopfli
======
Python bindings to zopfli
Main public module is pyzopfli.zlib.
It provides emulation of standard zlib module and can be used
in any application as drop-in replace.
Decompression functions are imported in pyzopfli.zlib from zlib.
import pyzopfli.zlib as zlib
pyzopfli may be used with gzip or zipfile modules of standard library
by replacing their zlib module attribute in runtime.
import pyzopfli.zlib as zlib
import zipfile
zipfile.zlib = zlib
You also can slightly cheat and control power of compression with
'levit' attribute of pyzopli.zlib module
import pyzopfli.zlib as zlib
zlib.levit[zlib.Z_DEFAULT_COMPRESSION] = iterations
pyzopfli.zlib passes standard's library unittest with
same failures as native zlib (few failures are errors of decompressor)
Same for gzip and zipfile modules with replaced zlib.
======
Python bindings to zopfli
Main public module is pyzopfli.zlib.
It provides emulation of standard zlib module and can be used
in any application as drop-in replace.
Decompression functions are imported in pyzopfli.zlib from zlib.
import pyzopfli.zlib as zlib
pyzopfli may be used with gzip or zipfile modules of standard library
by replacing their zlib module attribute in runtime.
import pyzopfli.zlib as zlib
import zipfile
zipfile.zlib = zlib
You also can slightly cheat and control power of compression with
'levit' attribute of pyzopli.zlib module
import pyzopfli.zlib as zlib
zlib.levit[zlib.Z_DEFAULT_COMPRESSION] = iterations
pyzopfli.zlib passes standard's library unittest with
same failures as native zlib (few failures are errors of decompressor)
Same for gzip and zipfile modules with replaced zlib.
Release files for pyzopfli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyzopfli-0.1.0.zip | 70.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyzopfli-0.1.0.win32-py2.7.exe | Details |
Total release size: 320.3 kB
Release files / pyzopfli-0.1.0.zip
| Download URL | pyzopfli-0.1.0.zip |
|---|---|
| Size | 70.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09087c7106b5770ccfc35b509f43f64f22d99b415540b64377dd5661c9140140
|
|
BLAKE2b-256 checksum How to use checksums |
1bf27f36941822efc1d8aa38bef1c041924ed0a20d9d322fed243cc57538c4af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyzopfli-0.1.0.win32-py2.7.exe
| Download URL | pyzopfli-0.1.0.win32-py2.7.exe |
|---|---|
| Size | 249.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba4f75acf9e8fc94c6b0ce6afd63773e4652c509e2a9c8035123958e0e19eb9c
|
|
BLAKE2b-256 checksum How to use checksums |
6f6ba4481c86eb13d2172ad881a7e35a25a0b4f78155853effb290dc4130d748
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |