A simple Cython wrapper for the snappy compression library
Project description
A simple Cython wrapper for the snappy compression library
Installation
Usage
Deadly simple:
import snappyx s = "Oh please compress me babe!..." * 10 c = snappyx.compress(s) print("Raw size: {}\nCompressed size: {}\n".format(len(s), len(c))) d = snappyx.decompress(c) print("Checking: ", s == d)
That’s all.
History
v0.5.1
‘nogil’ around compress/decompress operations
v0.5
Initial commit on github (based on snappy 1.1.3)
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
snappyx-0.5.1.tar.gz
(54.4 kB
view hashes)
Built Distribution
Close
Hashes for snappyx-0.5.1-cp27-cp27m-macosx_10_6_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b068d937f170cd3af0019bf66ab0902cf667de65a96e3a235247f30f6f91d41d |
|
MD5 | 5b6b679631225cfe2aabafa1fe3570da |
|
BLAKE2b-256 | dfa8e4e1bfd62ad22b59aa4b7891ca5d8537257a5dbe1d826c5f16ee779dac07 |