ctypes-snappy 1.02
Python ctypes interface to Google's libsnappy compression.
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)
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| ctypes-snappy-1.02.tar.gz (md5) | Source | 2011-11-22 | 1KB | 220 | |
- Author: Russell Power
- Home Page: http://rjpower.org/browse.cgi/ctypes-snappy
- License: BSD
-
Categories
- Development Status :: 5 - Production/Stable
- Intended Audience :: Developers
- Intended Audience :: System Administrators
- License :: OSI Approved :: BSD License
- Operating System :: POSIX
- Programming Language :: Python :: 2.5
- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3
- Programming Language :: Python :: 3.0
- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.2
- Topic :: Software Development :: Libraries
- Topic :: System :: Archiving :: Compression
- Package Index Owner: rjpower
- DOAP record: ctypes-snappy-1.02.xml
