Python ctypes interface to Google's libsnappy compression.
This module provides an interface to the lightweight snappy compression library:
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:
The usage is a straightfoward copy of the gzip package: