Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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)

Release History

This version
History Node

1.03

History Node

1.02

History Node

1.01

History Node

1.0

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
ctypes-snappy-1.03.linux-x86_64.tar.gz
(2.3 kB) Copy SHA256 Hash SHA256
Dumb Binary any Jul 23, 2012

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting