Python ctypes interface to Google's libsnappy compression.
Project description
This module provides an interface to the lightweight snappy compression library:
http://code.google.com/p/snappy/
As it uses ctypes to provide a Python interface, rather then the Python API, it is suitable for use with PyPy. If you don’t need to use PyPy, then you will likely be just as happy using the python-snappy library:
http://pypi.python.org/pypi/python-snappy
The usage is a straightfoward copy of the gzip package:
import snappy
compressed = snappy.compress(‘abba’ * 100)
uncompressed = snappy.uncompress(compressed)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file ctypes-snappy-1.03.linux-x86_64.tar.gz
.
File metadata
- Download URL: ctypes-snappy-1.03.linux-x86_64.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f74ed11331c0c39fc293b5aa61df758bfbad1933b6b420321bccaf12858100b9 |
|
MD5 | 0b15370a39153edf6cd6b9caff8eb6b3 |
|
BLAKE2b-256 | 74324da479b2231f2c4426b093f85adc94b74145f4a45c4e218c3c898e2cc1db |