C BSD-3-Clause

python-lz4

LZ4 bindings for Python

P

python-lz4

Dernière activité 22 juin 2026
python-lz4/python-lz4

303

étoiles

85

forks

42

issues ouvertes

compressionlz4lz4-framepython

Ce README est souvent en anglais.

python-lz4

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

Projets similaires

Extremely Fast Compression algorithm

Cccompressionlz4
Llz4
12,1 k étoiles1,6 k

Python bindings for the LZMA library

C7z7zipcompression
Ffancycode
242 étoiles80

LZ4 compression and decompression in pure Go

Gogogolanglz4
Ppierrec
971 étoiles160