Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

This version
History Node

0.5.1

History Node

0.5

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
snappyx-0.5.1-cp27-cp27m-macosx_10_6_x86_64.whl (47.8 kB) Copy SHA256 hash SHA256 Wheel 2.7 Mar 19, 2016
snappyx-0.5.1.tar.gz (54.4 kB) Copy SHA256 hash SHA256 Source None Mar 19, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page