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.1.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.1-cp310-cp310-win_amd64.whl (98.9 kB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

lz4-4.0.1-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.1-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.1-cp310-cp310-macosx_10_9_x86_64.whl (90.5 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9Windows x86

lz4-4.0.1-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.1-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.1-cp39-cp39-macosx_10_9_x86_64.whl (90.5 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8Windows x86

lz4-4.0.1-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.1-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.1-cp38-cp38-macosx_10_9_x86_64.whl (90.5 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

lz4-4.0.1-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.1-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.1-cp37-cp37m-macosx_10_9_x86_64.whl (90.2 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for lz4-4.0.1.tar.gz
Algorithm Hash digest
SHA256 efdfec2175715bf2d814ed72a7a185406f3456464eb3f343db1b87ed813e039c
MD5 f0119deda16827efa256585d39caa8bb
BLAKE2b-256 36bffa0380f3bfc4a37ebde793709b70666485835355f666d72576857f7c5269

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lz4-4.0.1-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.0 CPython/3.9.13

File hashes

Hashes for lz4-4.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6dd216093fd202e0c3d8ece82012ecbaf083288549a834f9fa1f4094990fc44c
MD5 0393c82723cc597d89bcecba0d90131f
BLAKE2b-256 bdb07eda817e12197d86e8ebe8d7d4fd12c211650119ab06a2096524de46040f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lz4-4.0.1-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.0 CPython/3.9.13

File hashes

Hashes for lz4-4.0.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 b041956b81905f17afbff2d10c5445a79c86fc7ca0adb2e6dc5885025812faa9
MD5 64b2168741f6f8c1741e1fc0a7118576
BLAKE2b-256 020d10c77dbd3a0bd5b851fc66150d9b13cc885fc201fea658eefc121a78ca44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lz4-4.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 be3ffd413fa3fe8bc84075d94104aadeb430fbd33976828537345691b954e8c9
MD5 8c8dae2e2c174be4907279f0fc880d10
BLAKE2b-256 52b3faf5578960d75d42e5db646e34088f0cdec84118acc1ac8e93a8f072096d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lz4-4.0.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ca911cc13debdea55eb1b99cfbdf48f8d65166ff39132c9ec1e156bd0b8f827f
MD5 534540a418b70c33f5618dd1de3baee1
BLAKE2b-256 4e3701d68b0da052b6eb47642e55b95097bce19b8b991032fc7d868da8eb32a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lz4-4.0.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5621c9ba9ef10c2a70429ff4950ce599d333feb9a0dcb13331b2707ee7a27d8f
MD5 61ca0b7f281e6f49a6642bad39f301e6
BLAKE2b-256 891e8a0fe2082fd8a532bd9ba6f98719e51a2126d90b585e77e15bac7bb99300

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lz4-4.0.1-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.0 CPython/3.9.13

File hashes

Hashes for lz4-4.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 0712e0c6cb25ffbeb55fcb1318db94ecf8f88ef81e18eb5e70180f1df7703899
MD5 871534033c4f25b82d747d38cf5d41a9
BLAKE2b-256 ff30db8ab26a1639c68fa39c543ef55c16658e782d4a2e67d66cc3f9a1bc7474

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lz4-4.0.1-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.0 CPython/3.9.13

File hashes

Hashes for lz4-4.0.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 3a8b77310fd460139401cec9784caf9b5aa1fbbcb2e0d44c19bfa10c2c5ee473
MD5 714c8b2b4b8cde6700a0fd69434db25a
BLAKE2b-256 62fe714f68c86ecb7c82077f6ca3f8aaf2fb85ad12c5df994af1556f4836ed22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lz4-4.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 387b94ab237e1f5186dbb0d0587f3bb16912211a52a8654e2a97c322732dd5a1
MD5 9167ad495bd1947f6122fcec23b63346
BLAKE2b-256 66097406967dbc10037ff8c8446242093df70e6df86bdae7275c8aadb4d8d0c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lz4-4.0.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 957186cf822649ffd8cb08b39395749ec6997a61d5f05483c5bde7463d0293f5
MD5 a4b76e94b788a01a955203099da98676
BLAKE2b-256 c2143330fb8e10413313e4daa08c9789af2f6aa579a6e4a9fc58a257248b8c5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lz4-4.0.1-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.0 CPython/3.9.13

File hashes

Hashes for lz4-4.0.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5ea6e188acf61e0a0866ebc9f966c8dc81df6fb3c4b3b50f578d58922c2de298
MD5 74bee8e948c07b5978ccc8269dc558f8
BLAKE2b-256 e357af180694d11738ba0fc6cde2b3020663d47a926611c945ec9e3c679b4fe9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lz4-4.0.1-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.0 CPython/3.9.13

File hashes

Hashes for lz4-4.0.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 a76a0b21e2263c210b30c7e44a9d1b6e36924667004e7054986f533d2839e160
MD5 d2658c797dd7973dd940e7f77dbeca98
BLAKE2b-256 305b321463c5649ffdcfe832f614193f36e25f7f181fc596965c13cd7ffff102

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lz4-4.0.1-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.0 CPython/3.9.13

File hashes

Hashes for lz4-4.0.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 d23d14f45c64da187d313c4ca61804485296f3c1380b1f4898eaac3ed82ae3cd
MD5 ab285c8fd777dbe39add3273cb320b9f
BLAKE2b-256 d051153b26c8d30633e464d06c3d9d9776d678bbc5b4497a83b15b0056fba671

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lz4-4.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 feb92e638a7a166d4c3f574777b07adbae0ce158e66f54ed2788ad29f6bcf311
MD5 989ea0fa768ea0911615cff52940a200
BLAKE2b-256 d2bec58821622c8762a77855508b6ac1722b9bb9fe5f7bc3ade8a8d431b2f9b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lz4-4.0.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 21be98218d0366227cd62151c8f8d6ef39fb0672f824893a85ceef4934d27a73
MD5 1ab345b97190c9b82fe1dbc759b6dcb8
BLAKE2b-256 f7be030230e3996c5cd1928e9d614b9058cf77e39183f844d17bb35bfde28ff5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lz4-4.0.1-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.0 CPython/3.9.13

File hashes

Hashes for lz4-4.0.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5e8e525fe6e8104d2afe8ad2fd2f9ac07321d6e40ee601a7b4bca4dde3ed2a01
MD5 50b5730a692da8e1ea63257b5b213e19
BLAKE2b-256 a75be1376c636d1c5565d9b587637922e00c64738a22baf11c6ad6bad6777bdc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lz4-4.0.1-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.0 CPython/3.9.13

File hashes

Hashes for lz4-4.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 f3bb11af528a6d01b20c8d5dafa87930a4341cad856f8ad9a5333e7f6292fd6e
MD5 826005c732ca38a04baf2c07da4776ae
BLAKE2b-256 c7c846143d5b7756d6cc659f1e7c6b163a141b9f8b408b7ffcc49587aad96d10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lz4-4.0.1-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.0 CPython/3.9.13

File hashes

Hashes for lz4-4.0.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 0f14081851117131c7315fdc07f8d7ac29dba0c1d426a5d818d0b2a39f85f1dd
MD5 40ef624798e7e9388e10cec0274ad07e
BLAKE2b-256 7e0111b9966700910ea40a216262a0b117569a70c654bb74e4eee89faca18173

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lz4-4.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d0d9fe54043a9879952595f00ac8128dda33113d1289e41b648ac966b814c12b
MD5 21ee845f08efdec0e643627c65b3f590
BLAKE2b-256 6bbaf5a5889382739109eae663e40fc6217382cfb1bfb3db6ef1f652ddb1a19e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lz4-4.0.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3db0ae359a97802c7a9702871669ac66a6e224b06876c22a38c6665c7004ac82
MD5 881197c2ff456ef429d0170db96ad291
BLAKE2b-256 f98673a9bcd214eba66e2e74be9e3850baacdd5844592aebb86c26639c3572c1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lz4-4.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ba375be2c2f31eee5720c77ca870acf38a20bc94b1c8744536e54c17562c6ffb
MD5 2a5cd556cb704b44d534beb512097062
BLAKE2b-256 536e786400667649cd3bfc0a2c8c40e7b4843648c857cac6d197bf3c05168a07

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