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 details)
File details
Details for the file deflate-0.1.0.tar.gz
.
File metadata
- Download URL: deflate-0.1.0.tar.gz
- Upload date:
- Size: 140.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/46.0.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d56c5d5a6001d385d8ab1015fe32589268830a1c9d850813a349814e38598b0 |
|
MD5 | 38ca5b8ac9026b821d85b8e3cdc4d25b |
|
BLAKE2b-256 | 3561dc5ea4a80ee556270a269f5fe9052d96d93042e2a1e47554f79aca001c10 |