Python wrapper for libdeflate.
Project description
deflate
This is a very thin Python wrapper Eric Biggers' excellent libdeflate. Currently, it only handles compression and decompression of gzip data, with a very basic API:
import deflate
level = 9 # The default; may be 1-12 for libdeflate.
compressed = deflate.gzip_compress(b"hello world!" * 1000, level)
original = deflate.gzip_decompress(compressed)
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
deflate-0.1.0.tar.gz
(140.9 kB
view hashes)