Awesome Open Source
Awesome Open Source

========== python-lz4


.. image:: :target: :alt: Build Status

.. image:: :target: :alt: Build Status Windows

.. image:: :target: :alt: Documentation

.. image:: :target: :alt: CodeCov


This package provides python bindings for the LZ4 compression library <>_.

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

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.


.. image:: :target: :alt: Documentation

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

:master: :development:


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


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

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
python (55,343
c (15,699
compression (203