lz4 4.4.4


pip install lz4

  Latest version

Released: Apr 01, 2025

Project Links

Meta
Author: Jonathan Underwood
Requires Python: >=3.9

Classifiers

Development Status
  • 5 - Production/Stable

License
  • OSI Approved :: BSD License

Intended Audience
  • Developers

Programming Language
  • C
  • Python
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13

Status

Build Status 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

4.4.4 Apr 01, 2025
4.4.3 Jan 26, 2025
4.3.3 Jan 01, 2024
4.3.2 Dec 30, 2022
4.3.1 Dec 30, 2022
4.3.0 Dec 29, 2022
4.2.0 Dec 29, 2022
4.1.0 Dec 29, 2022
4.0.2 Jul 24, 2022
4.0.1 May 22, 2022
4.0.0 Feb 14, 2022
3.1.10 Nov 25, 2021
3.1.9 Nov 25, 2021
3.1.3 Jan 19, 2021
3.1.2 Jan 15, 2021
3.1.1 Nov 18, 2020
3.1.0 Jun 09, 2020
3.0.2 Dec 28, 2019
3.0.1 Dec 28, 2019
3.0.0 Dec 28, 2019
2.2.1 Sep 15, 2019
2.1.10 Jun 09, 2019
2.1.9 Jun 02, 2019
2.1.8 Jun 02, 2019
2.1.7 Jun 01, 2019
2.1.6 Dec 19, 2018
2.1.5 Dec 18, 2018
2.1.4 Dec 18, 2018
2.1.3 Dec 17, 2018
2.1.2 Nov 04, 2018
2.1.1 Oct 13, 2018
2.1.0 Jul 31, 2018
2.0.2 Jul 07, 2018
2.0.1 Jun 21, 2018
2.0.0 Jun 09, 2018
1.1.0 Apr 03, 2018
1.0.1 Apr 03, 2018
1.0.0 Feb 17, 2018
0.23.2 Feb 14, 2018
0.23.1 Feb 11, 2018
0.22.1 Feb 10, 2018
0.21.6 Feb 04, 2018
0.21.5 Feb 04, 2018
0.21.3 Feb 04, 2018
0.21.2 Feb 04, 2018
0.21.1 Feb 03, 2018
0.20.1 Feb 02, 2018
0.19.2 Feb 01, 2018
0.19.1 Jan 21, 2018
0.18.2 Jan 20, 2018
0.18.1 Jan 01, 2018
0.18.0 Jan 01, 2018
0.17.0 Dec 27, 2017
0.16.6 Dec 26, 2017
0.16.5 Dec 26, 2017
0.16.4 Dec 26, 2017
0.16.3 Dec 26, 2017
0.16.2 Dec 26, 2017
0.16.1 Dec 26, 2017
0.15.0 Dec 25, 2017
0.14.0 Dec 24, 2017
0.13.0 Dec 22, 2017
0.12.0 Dec 20, 2017
0.11.1 Nov 19, 2017
0.10.1 Jul 02, 2017
0.10.0 Jun 10, 2017
0.9.4 May 17, 2017
0.9.3 May 17, 2017
0.9.2 May 16, 2017
0.9.1 May 13, 2017
0.9.0 Mar 12, 2017
0.8.2 Apr 29, 2016
0.8.1 Apr 27, 2016
0.7.0 Jul 07, 2014
0.6.1 Mar 21, 2014
0.6.0 Apr 06, 2013
0.5.0 Jan 13, 2013
0.4.0 Jun 05, 2012
0.3.2 Mar 15, 2012
0.3.1 Mar 15, 2012
0.3.0 Feb 29, 2012
0.2.1 Feb 29, 2012
0.2 Feb 20, 2012
0.1 Jan 31, 2012

Wheel compatibility matrix

Platform CPython 3.9 CPython 3.10 CPython 3.11 CPython 3.12 CPython 3.13
macosx_10_13_x86_64
macosx_10_9_x86_64
macosx_11_0_arm64
manylinux1_i686
manylinux2014_aarch64
manylinux2014_i686
manylinux2014_x86_64
manylinux_2_17_aarch64
manylinux_2_17_i686
manylinux_2_17_x86_64
manylinux_2_5_i686
win32
win_amd64
win_arm64

Files in release

lz4-4.4.4-cp310-cp310-macosx_10_9_x86_64.whl (215.7KiB)
lz4-4.4.4-cp310-cp310-macosx_11_0_arm64.whl (185.2KiB)
lz4-4.4.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2MiB)
lz4-4.4.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2MiB)
lz4-4.4.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1MiB)
lz4-4.4.4-cp310-cp310-win32.whl (86.2KiB)
lz4-4.4.4-cp310-cp310-win_amd64.whl (97.6KiB)
lz4-4.4.4-cp310-cp310-win_arm64.whl (87.6KiB)
lz4-4.4.4-cp311-cp311-macosx_10_9_x86_64.whl (215.7KiB)
lz4-4.4.4-cp311-cp311-macosx_11_0_arm64.whl (185.2KiB)
lz4-4.4.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2MiB)
lz4-4.4.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2MiB)
lz4-4.4.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1MiB)
lz4-4.4.4-cp311-cp311-win32.whl (86.2KiB)
lz4-4.4.4-cp311-cp311-win_amd64.whl (97.6KiB)
lz4-4.4.4-cp311-cp311-win_arm64.whl (87.6KiB)
lz4-4.4.4-cp312-cp312-macosx_10_13_x86_64.whl (215.5KiB)
lz4-4.4.4-cp312-cp312-macosx_11_0_arm64.whl (185.2KiB)
lz4-4.4.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2MiB)
lz4-4.4.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2MiB)
lz4-4.4.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1MiB)
lz4-4.4.4-cp312-cp312-win32.whl (86.2KiB)
lz4-4.4.4-cp312-cp312-win_amd64.whl (97.6KiB)
lz4-4.4.4-cp312-cp312-win_arm64.whl (87.6KiB)
lz4-4.4.4-cp313-cp313-macosx_10_13_x86_64.whl (215.5KiB)
lz4-4.4.4-cp313-cp313-macosx_11_0_arm64.whl (185.2KiB)
lz4-4.4.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2MiB)
lz4-4.4.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2MiB)
lz4-4.4.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1MiB)
lz4-4.4.4-cp313-cp313-win32.whl (86.2KiB)
lz4-4.4.4-cp313-cp313-win_amd64.whl (97.6KiB)
lz4-4.4.4-cp313-cp313-win_arm64.whl (87.6KiB)
lz4-4.4.4-cp39-cp39-macosx_10_9_x86_64.whl (215.7KiB)
lz4-4.4.4-cp39-cp39-macosx_11_0_arm64.whl (185.2KiB)
lz4-4.4.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2MiB)
lz4-4.4.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2MiB)
lz4-4.4.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1MiB)
lz4-4.4.4-cp39-cp39-win32.whl (86.2KiB)
lz4-4.4.4-cp39-cp39-win_amd64.whl (97.6KiB)
lz4-4.4.4-cp39-cp39-win_arm64.whl (87.6KiB)
lz4-4.4.4.tar.gz (167.9KiB)
Extras:
Dependencies: