Skip to main content

A Python wrapper for lz4_flex Rust crate

Project description

lz4_flex python wrapper

Usage

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

Development

Preparations:

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

lz4_flex_py-0.1.3-cp36-abi3-manylinux_2_24_x86_64.whl (160.4 kB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.24+ x86-64

File details

Details for the file lz4_flex_py-0.1.3-cp36-abi3-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for lz4_flex_py-0.1.3-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 ec7198f2dfda6a9b962ff42decfb7f21e4b6784f86e98f118c71447b1a750833
MD5 5406fc26f12afc114ab8e49d84cad3f7
BLAKE2b-256 6cad525904fcc0e01d480d45f929d4ba9a1087feaea1e67891448c4d20ce6b63

See more details on using hashes here.

Supported by

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