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 details)

Uploaded Source

Built Distribution

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

Uploaded CPython 2.7m macOS 10.6+ x86-64

File details

Details for the file snappyx-0.5.1.tar.gz.

File metadata

  • Download URL: snappyx-0.5.1.tar.gz
  • Upload date:
  • Size: 54.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for snappyx-0.5.1.tar.gz
Algorithm Hash digest
SHA256 9520767d268afb22d3c6572f95817219043d3d8924bc544e62aae0effb5c6d91
MD5 0d9b3fabb46bb808954dc01a7c6dc0b7
BLAKE2b-256 da6137a2f7f03811f2c399d3867564c55e993ab1ea76310f02562c7ab6eb78ca

See more details on using hashes here.

File details

Details for the file snappyx-0.5.1-cp27-cp27m-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for snappyx-0.5.1-cp27-cp27m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 b068d937f170cd3af0019bf66ab0902cf667de65a96e3a235247f30f6f91d41d
MD5 5b6b679631225cfe2aabafa1fe3570da
BLAKE2b-256 dfa8e4e1bfd62ad22b59aa4b7891ca5d8537257a5dbe1d826c5f16ee779dac07

See more details on using hashes here.

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