| 1 |
========== |
| 2 |
python-lz4 |
| 3 |
========== |
| 4 |
|
| 5 |
Status |
| 6 |
====== |
| 7 |
|
| 8 |
.. image:: https://github.com/python-lz4/python-lz4/actions/workflows/build_dist.yml/badge.svg |
| 9 |
:target: https://github.com/python-lz4/python-lz4/actions/workflows/build_dist.yml |
| 10 |
:alt: Build Status |
| 11 |
|
| 12 |
.. image:: https://readthedocs.org/projects/python-lz4/badge/?version=stable |
| 13 |
:target: https://readthedocs.org/projects/python-lz4/ |
| 14 |
:alt: Documentation |
| 15 |
|
| 16 |
.. image:: https://codecov.io/gh/python-lz4/python-lz4/branch/codecov/graph/badge.svg |
| 17 |
:target: https://codecov.io/gh/python-lz4/python-lz4 |
| 18 |
:alt: CodeCov |
| 19 |
|
| 20 |
|
| 21 |
Introduction |
| 22 |
============ |
| 23 |
This package provides python bindings for the `LZ4 compression library |
| 24 |
<https://lz4.github.io/lz4/>`_. |
| 25 |
|
| 26 |
The production ready bindings provided in this package cover the `frame format |
| 27 |
<https://github.com/lz4/lz4/blob/master/doc/lz4_Frame_format.md>`_, and the |
| 28 |
`block format <https://github.com/lz4/lz4/blob/dev/doc/lz4_Block_format.md>`_ |
| 29 |
specifications. The frame format bindings are the recommended ones to use, as |
| 30 |
this guarantees interoperability with other implementations and language |
| 31 |
bindings. |
| 32 |
|
| 33 |
Experimental bindings for the the `streaming format |
| 34 |
<https://github.com/lz4/lz4/blob/master/examples/streaming_api_basics.md>`_ |
| 35 |
specification are also included, but further work on those is required. |
| 36 |
|
| 37 |
The API provided by the frame format bindings follows that of the LZMA, zlib, |
| 38 |
gzip and bzip2 compression libraries which are provided with the Python standard |
| 39 |
library. As such, these LZ4 bindings should provide a drop-in alternative to the |
| 40 |
compression libraries shipped with Python. The package provides context managers |
| 41 |
and file handler support. |
| 42 |
|
| 43 |
The bindings drop the GIL when calling in to the underlying LZ4 library, and is |
| 44 |
thread safe. An extensive test suite is included. |
| 45 |
|
| 46 |
Documentation |
| 47 |
============= |
| 48 |
|
| 49 |
.. image:: https://readthedocs.org/projects/python-lz4/badge/?version=stable |
| 50 |
:target: https://readthedocs.org/projects/python-lz4/ |
| 51 |
:alt: Documentation |
| 52 |
|
| 53 |
Full documentation is included with the project. The documentation is |
| 54 |
generated using Sphinx. Documentation is also hosted on readthedocs. |
| 55 |
|
| 56 |
:master: http://python-lz4.readthedocs.io/en/stable/ |
| 57 |
:development: http://python-lz4.readthedocs.io/en/latest/ |
| 58 |
|
| 59 |
Homepage |
| 60 |
======== |
| 61 |
|
| 62 |
The `project homepage <https://www.github.com/python-lz4/python-lz4>`_ is hosted |
| 63 |
on Github. Please report any issues you find using the `issue tracker |
| 64 |
<https://github.com/python-lz4/python-lz4/issues>`_. |
| 65 |
|
| 66 |
Licensing |
| 67 |
========= |
| 68 |
Code specific to this project is covered by the `BSD 3-Clause License |
| 69 |
<http://opensource.org/licenses/BSD-3-Clause>`_ |
| 70 |
|