Skip to main content

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


Download files

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

Files for snappyx, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size snappyx-0.5.1-cp27-cp27m-macosx_10_6_x86_64.whl (47.8 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size snappyx-0.5.1.tar.gz (54.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page