Skip to main content

You probably want python-snappy

Hadoop framing compatibility

There is one case where you might prefer this library: reading Hadoop snappy streams.

The Hadoop snappy format allows a "block" to contain one or more subblocks. Real Hadoop writers (BlockCompressorStream) emit multi-subblock blocks when an input exceeds the configured buffer size.

  • pysnappy's HadoopDecompressor handles both single-subblock and multi-subblock blocks.
  • python-snappy's HadoopStreamDecompressor only handles single-subblock blocks; on multi-subblock input it silently returns the first subblock and stashes the rest in an internal buffer that is never surfaced. Data loss with no error.

For the encoder, pysnappy emits multi-subblock blocks by default (respecting the buffer_size argument). Pass single_subblock=True to the HadoopCompressor constructor to emit one subblock per call, which is byte-shape-compatible with python-snappy's encoder and slightly faster.

Metadata

Release files for pysnappy 0.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysnappy 0.8.2
File Size Uploaded
pysnappy-0.8.2.tar.gz 24.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pysnappy 0.8.2
File
pysnappy-0.8.2-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details
pysnappy-0.8.2-cp313-cp313-musllinux_1_2_aarch64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ ARM64 Details
pysnappy-0.8.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
pysnappy-0.8.2-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
pysnappy-0.8.2-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details
pysnappy-0.8.2-cp312-cp312-musllinux_1_2_aarch64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ ARM64 Details
pysnappy-0.8.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
pysnappy-0.8.2-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
pysnappy-0.8.2-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details
pysnappy-0.8.2-cp311-cp311-musllinux_1_2_aarch64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ ARM64 Details
pysnappy-0.8.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
pysnappy-0.8.2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details

Total release size: 7.4 MB

Release files / pysnappy-0.8.2.tar.gz

Download URL pysnappy-0.8.2.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ce58803a1c47b8fa7d258cb08149117aab492cbf12f152923da7bf19d05aab1c
BLAKE2b-256 checksum
How to use checksums
f783ca20993d6c07901d4375a8bb6d168fcb7e9f73dc65d51fb9f2a5ee898402
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release files / pysnappy-0.8.2-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL pysnappy-0.8.2-cp313-cp313-musllinux_1_2_x86_64.whl
Size 1.1 MB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
bdfe13d7dcb6bb960778d326060648006e8bc9c506f000d7de6ac883388fbd6c
BLAKE2b-256 checksum
How to use checksums
bed844657e97093863be228424ec91cf1a87211b04d6f1705370587d6c3d0cbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release files / pysnappy-0.8.2-cp313-cp313-musllinux_1_2_aarch64.whl

Download URL pysnappy-0.8.2-cp313-cp313-musllinux_1_2_aarch64.whl
Size 1.1 MB
Tags CPython 3.13 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
98d5afd56bc54cf0cb5a17a7bcb8c81773f5e391a55a44645a97fb5f1e14a43c
BLAKE2b-256 checksum
How to use checksums
070c797b0f1cb95a3370438277a5e1bdabf1da6a49c8bda34ad0e4d6e593fd89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release files / pysnappy-0.8.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL pysnappy-0.8.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 133.7 kB
Tags CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
69ef4c2c9a5da1b8bb543a4291d3e8bf9ada51cbb1537be900f58a267cb698dc
BLAKE2b-256 checksum
How to use checksums
e417b2f9185da83ed6bda61fd60d61d1cb2460588bd06febfbc92babb956c419
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release files / pysnappy-0.8.2-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL pysnappy-0.8.2-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 124.5 kB
Tags CPython 3.13 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
7171b1f154ffd7177dc53654c9b86531bd782432961261994dca9a47158b242c
BLAKE2b-256 checksum
How to use checksums
ad1f2f11a0b7151bb9dc9df012d3d0db4d1e544993d58c64ed2b606ab9223622
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release files / pysnappy-0.8.2-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL pysnappy-0.8.2-cp312-cp312-musllinux_1_2_x86_64.whl
Size 1.1 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
991e141f817742669575fe872f57e9903594fcc7d900077871517947e34c3846
BLAKE2b-256 checksum
How to use checksums
ede201461230beecd42e31e2232c13d590b328a67497ac47f6621cba0945e3c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release files / pysnappy-0.8.2-cp312-cp312-musllinux_1_2_aarch64.whl

Download URL pysnappy-0.8.2-cp312-cp312-musllinux_1_2_aarch64.whl
Size 1.1 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
9a41593a20192804727976d798ddbdd6de392fd8fa8f656fc263f4ebc738598c
BLAKE2b-256 checksum
How to use checksums
73b1d75594f369912e562748e151207b221c5d5ae5944c17fef78ff5ed6f0114
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release files / pysnappy-0.8.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL pysnappy-0.8.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 133.7 kB
Tags CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
66e671655c581ac85394ef81a69519e88b112a031d73587dd8c99913b33e3a55
BLAKE2b-256 checksum
How to use checksums
20cbbe7f4c7df07cc1e7ee3f210fc97e089c965905962320ec800e71ca38001a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release files / pysnappy-0.8.2-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL pysnappy-0.8.2-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 124.7 kB
Tags CPython 3.12 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
45c4790818616147c6a99b87b06ff48731b931a3cf7ce157d6a3bada12c32b6e
BLAKE2b-256 checksum
How to use checksums
7c71b99739bbc2c053a132baec11d4570d4d0ac15cbbd9566eb44cc54ca29d5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release files / pysnappy-0.8.2-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL pysnappy-0.8.2-cp311-cp311-musllinux_1_2_x86_64.whl
Size 1.1 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
87ee11280d3225630b90935ff3b854d0c48f718a31cc83e51e825c0e1729de58
BLAKE2b-256 checksum
How to use checksums
f25df13de05b4aca15d27e0a4f1efb5fc2ad35014ef9a3c352e4dc2130c3699a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release files / pysnappy-0.8.2-cp311-cp311-musllinux_1_2_aarch64.whl

Download URL pysnappy-0.8.2-cp311-cp311-musllinux_1_2_aarch64.whl
Size 1.1 MB
Tags CPython 3.11 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
966b9f0ce1437dd61649a01e68bad9b1be1aff9e7c6853ccde214872ec02732f
BLAKE2b-256 checksum
How to use checksums
fe57ee01965d2db51da10d51a7308551665a9b7009e40239c2d67745d4815467
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release files / pysnappy-0.8.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL pysnappy-0.8.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 136.9 kB
Tags CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8c189bff9fcad9ff0d2278927948f3125f061f32bcec73dca240a0193185e855
BLAKE2b-256 checksum
How to use checksums
40f01b17c4c44e7e3cd0ff87d24e75c3622db97c6294843f463523c8e5ee8a18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release files / pysnappy-0.8.2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL pysnappy-0.8.2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 129.1 kB
Tags CPython 3.11 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
b5af97934e468e71e662896b53e942a60fe090038b5242c81979ac650b333e6c
BLAKE2b-256 checksum
How to use checksums
f67662818e2ee99bd6b47f9a3f7786f3d1e1e8ca4a6cf4106c20c23317cd6c88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.8.2 This release

13 release files

0.8.0

13 release files

0.7.2

13 release files

0.7.0

2 release files

0.6.1

1 release file

0.6.0

1 release file

0.5.1

1 release file

0.5.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page