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.

Source Distribution

snappyx-0.5.1.tar.gz (54.4 kB view hashes)

Uploaded Source

Built Distribution

snappyx-0.5.1-cp27-cp27m-macosx_10_6_x86_64.whl (47.8 kB view hashes)

Uploaded CPython 2.7m macOS 10.6+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page