Skip to main content

A Python wrapper for lz4_flex Rust crate

Project description

lz4_flex python wrapper


>>> import lz4_flex
>>> compressed = lz4_flex.compress_prepend_size(b"foo")
>>> lz4_flex.decompress_size_prepended(compressed)



pip install maturin
python -m venv .venv
source .venv/bin/activate

Install the package:

maturin develop

Test it:

python -c'import lz4_flex'

Publishing to pypi:

maturin publish

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page