Skip to main content

LZ4 Bindings for Python

Project description

Status

Build Status Build Status Windows Documentation CodeCov

Introduction

This package provides python bindings for the LZ4 compression library.

The production ready bindings provided in this package cover the frame format, and the block format specifications. The frame format bindings are the recommended ones to use, as this guarantees interoperability with other implementations and language bindings.

Experimental bindings for the the streaming format specification are also included, but further work on those is required.

The API provided by the frame format bindings follows that of the LZMA, zlib, gzip and bzip2 compression libraries which are provided with the Python standard library. As such, these LZ4 bindings should provide a drop-in alternative to the compression libraries shipped with Python. The package provides context managers and file handler support.

The bindings drop the GIL when calling in to the underlying LZ4 library, and is thread safe. An extensive test suite is included.

Documentation

Documentation

Full documentation is included with the project. The documentation is generated using Sphinx. Documentation is also hosted on readthedocs.

master:

http://python-lz4.readthedocs.io/en/stable/

development:

http://python-lz4.readthedocs.io/en/latest/

Homepage

The project homepage is hosted on Github. Please report any issues you find using the issue tracker.

Licensing

Code specific to this project is covered by the BSD 3-Clause License

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

lz4-4.0.2.tar.gz (164.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

lz4-4.0.2-cp310-cp310-win_amd64.whl (98.9 kB view details)

Uploaded CPython 3.10Windows x86-64

lz4-4.0.2-cp310-cp310-win32.whl (86.4 kB view details)

Uploaded CPython 3.10Windows x86

lz4-4.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

lz4-4.0.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

lz4-4.0.2-cp310-cp310-macosx_10_9_x86_64.whl (90.5 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

lz4-4.0.2-cp39-cp39-win_amd64.whl (98.9 kB view details)

Uploaded CPython 3.9Windows x86-64

lz4-4.0.2-cp39-cp39-win32.whl (86.4 kB view details)

Uploaded CPython 3.9Windows x86

lz4-4.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

lz4-4.0.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

lz4-4.0.2-cp39-cp39-macosx_10_9_x86_64.whl (90.5 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

lz4-4.0.2-cp38-cp38-win_amd64.whl (98.9 kB view details)

Uploaded CPython 3.8Windows x86-64

lz4-4.0.2-cp38-cp38-win32.whl (86.4 kB view details)

Uploaded CPython 3.8Windows x86

lz4-4.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

lz4-4.0.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.2 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

lz4-4.0.2-cp38-cp38-macosx_10_9_x86_64.whl (90.5 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

lz4-4.0.2-cp37-cp37m-win_amd64.whl (98.9 kB view details)

Uploaded CPython 3.7mWindows x86-64

lz4-4.0.2-cp37-cp37m-win32.whl (86.4 kB view details)

Uploaded CPython 3.7mWindows x86

lz4-4.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

lz4-4.0.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.2 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

lz4-4.0.2-cp37-cp37m-macosx_10_9_x86_64.whl (90.3 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

Details for the file lz4-4.0.2.tar.gz.

File metadata

  • Download URL: lz4-4.0.2.tar.gz
  • Upload date:
  • Size: 164.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for lz4-4.0.2.tar.gz
Algorithm Hash digest
SHA256 083b7172c2938412ae37c3a090250bfdd9e4a6e855442594f86c3608ed12729b
MD5 861b9db31c451ce85cea3019ef6e7a13
BLAKE2b-256 658d4d913798e17735839c7666e81985bd230f739927d066890b511a78c542d8

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: lz4-4.0.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 98.9 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for lz4-4.0.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 61dbcca64e8e1655e06b588356c4b2515bccc1d7e84065f858a685abd96f0cf2
MD5 2334adbeb1f3bc92e61aa3bba26d8a22
BLAKE2b-256 83612e62c2e67646b77455cfcde7f1d043f95297c0b523a2b50dcd174ed1ea4a

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp310-cp310-win32.whl.

File metadata

  • Download URL: lz4-4.0.2-cp310-cp310-win32.whl
  • Upload date:
  • Size: 86.4 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for lz4-4.0.2-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 fba1730cd2327a9d013192a9878714cc82f4877d2ada556222d03ea6428a80ed
MD5 9bd73a51446891d4ed8bfe2c01c6a176
BLAKE2b-256 711d1a01e18740b4bd4d7c3fa5edf60f9e5a40b3acd2dfa2e715a16dad81ff4d

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lz4-4.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 154e6e9f58a7bafc4d2a1395160305b78fc82fa708bfa58cf0ad977c443d1f8f
MD5 023c1bd60df5c4ceb9f1bb78e8e7bfcb
BLAKE2b-256 4cc382de7c66c1ffdffd82deab974fa6fd99cae463caa79a12a43470a18d4d9b

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for lz4-4.0.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4cfa82f26b4f1835c797bd70e5ce20d5f1ee897b9a0c53e62d607f9029f521ce
MD5 d61302dfdaf1d74447b59142d36c598c
BLAKE2b-256 b72ff2dd22f736bac235457eddf990ba558ff23ce92f60560cc40834249eea17

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for lz4-4.0.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3881573c3db902db370e072eb64b40c7c8289b94b2a731e051858cc198f890e8
MD5 7b90dc189802a191b6a9c9f31774fee0
BLAKE2b-256 75a487a365041ffe2b770c9af09d92209ee43cd4862a8b1f17fbf801dee2c586

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: lz4-4.0.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 98.9 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for lz4-4.0.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ee73357412c5505f6ba0ea61ff71455e2e4c1e04d8e60f17f3cd937261d773fa
MD5 d0dd4ca3b55713d7304a2acfb50c1c23
BLAKE2b-256 7490752fd711f5f53a500c19ce1d689a8f2a9c474be2080030ee7a044d83ed00

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp39-cp39-win32.whl.

File metadata

  • Download URL: lz4-4.0.2-cp39-cp39-win32.whl
  • Upload date:
  • Size: 86.4 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for lz4-4.0.2-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 a8e02c2477bd704f43113ac8dd966c361187383591388818d74e1b73e4674759
MD5 5f924f0af0b4a7eba60bcefc7e5127a2
BLAKE2b-256 0cd2a689b5e659cb37c5e39a38b61526c284f13d677ba1967a055f457449db18

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lz4-4.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d2b18a6d6d9071c03dbf9e30bbe22e4476f24f1a4d73b1e975605ad3ce725e6c
MD5 fb5484780e8b1f1784db80712551a3a4
BLAKE2b-256 5fa1b64159546cbb9ace0e419a2ea6e35496df4d9cdc72c1a3c878d7eaf59c5f

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for lz4-4.0.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9d141719d3cbb7933809642a61b68b8f595ddf85657016521756ddcf826b85cd
MD5 1c82ddaf06749cdc81c68781917ab5cc
BLAKE2b-256 5620d1f853d0aebf3419fe56702e63fe525ae05ec2c4d87e3e6004eba201cfe8

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: lz4-4.0.2-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 90.5 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for lz4-4.0.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1ed9a1875dc2a489f3b665d0211984689d0e76585e55650b044a64dbd2d22992
MD5 c1798704ff84968934d58df527cf1a61
BLAKE2b-256 87f00f48253a83c244d192fb4b7f957188c1568d498030c98a79877268531d6d

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: lz4-4.0.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 98.9 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for lz4-4.0.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 1bd56282f6993e013ccf7f6edf1530c2a13d1662741e2be072349c7f70bc0682
MD5 535e9276e2698252b9788dfe98c1d1cc
BLAKE2b-256 73afe39b3e9ec916241480cb321de52f6bf01fc365b1b491ca96807116b3574a

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp38-cp38-win32.whl.

File metadata

  • Download URL: lz4-4.0.2-cp38-cp38-win32.whl
  • Upload date:
  • Size: 86.4 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for lz4-4.0.2-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 35e6caced0229b90151d31d9cf1eaa541e597f8021bf5b70ff9e6374e3e43b23
MD5 0204b1717c1477378dcd0482c3df3051
BLAKE2b-256 46daedf214089ccd95018048db98dab0540f4bc0319624c73ba129a7d58b349b

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lz4-4.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ea2c2182a5b0ad03f33ac09db0925a1738a1d65751a3e058110bd900c643d359
MD5 f5e534b57a5cc1fb7e578e62f13239a3
BLAKE2b-256 fe276bbf31de0f4e1a0f0542eec8a3c0cb88b1034bc0f2388492fb4111f64313

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for lz4-4.0.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 439898dd4176a724243002003c3f733eb6ce48a5988175f54c8560e0b100b7a6
MD5 bb6e67b2cf04748edb8914a7dd042e98
BLAKE2b-256 0a7c4fb3503501d51af20bf926f3bb364cab0dab2bcef23c85fce0e4a61569ef

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: lz4-4.0.2-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 90.5 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for lz4-4.0.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6f3b3670f52f0871885258bcbc746f483760434336f0bc5581f161cc5d4b0c9a
MD5 d8c3d8d19bfc8d3a81762033a104d637
BLAKE2b-256 b9439cbdcbecf76aa4c84c22d5dcb73940bcecece2b188df811580d9dbb3f160

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: lz4-4.0.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 98.9 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for lz4-4.0.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 3fa0f000d8ce39e643e9e5c49fc4d1985156ffb177e3123a0f22551f5864841b
MD5 f4d21379068fc9ed26a1ba32b3a619c6
BLAKE2b-256 9ada9f53e816ae10629f3b8f396d8448e7a8ba74d6ca2b5a6695b175dd559a76

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp37-cp37m-win32.whl.

File metadata

  • Download URL: lz4-4.0.2-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 86.4 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for lz4-4.0.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 5fe9db7627674875e4279c2ed50b1e38fb91ec3093347f871ed996e58edbb488
MD5 3287580ce691a33feb51caa33d079d79
BLAKE2b-256 09f2e6d1668620cb1b1bc807d4b18854f6c90a3e7c3509297b19b2dc5ecacce4

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lz4-4.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ed86ab22bfe1f4cd4fc983704134a8fdf746c1121a398f8f14cbd014c1a5b0ae
MD5 85ebfbaa04c5dd968e14fd51e5382010
BLAKE2b-256 a683b5e7406e9bb330c434b8eb851f25ac69ee19e01d457cf0dd50f741cd27f6

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for lz4-4.0.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 345608de23b4d68fbdef373f1e53d6c5abd99a062d4ff922e3350f47775ab123
MD5 8e6ff066b11c3a2b314038de2a0fe6c2
BLAKE2b-256 b03e3e8b2437660edd69f653fcd95a43ba55c5add6684ac2348c4419ab32b33f

See more details on using hashes here.

File details

Details for the file lz4-4.0.2-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: lz4-4.0.2-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 90.3 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for lz4-4.0.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 56ea660097fec87f0c6746146b316775037f8dd886a4c5915360e5b32b7112d0
MD5 fce099821e60e894f43a757fd9e1d894
BLAKE2b-256 0e7786ed124e75c0a26cf7ae77d324141b060e3d2393604d958b8eb83f9d1307

See more details on using hashes here.

Supported by

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