README.rst 2.5 KB

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