Metadata-Version: 2.1
Name: rvl
Version: 1.0.4
Summary: Python bindings for the RVL lossless compression algorithm.
Home-page: https://github.com/Beenyameen/rvl
Author: Beenyameen
License: UNKNOWN
Keywords: compression,rvl,image,16-bit,depth,lossless
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.2
Description-Content-Type: text/markdown

# rvl (Python)

Python bindings for the RVL algorithm, a lossless compression technique designed for 16-bit depth images.

For full details, see the [root repository README](https://github.com/Beenyameen/rvl/blob/main/README.md).

## Installation

```bash
pip install rvl
```

## Example

```python
import array
import rvl

# Create a sample 16-bit array (e.g., depth data).
data = array.array("h", [0, 0, 100, 102, 105, 0, 0, 0, 250, 255])

# Compress.
compressed_data = rvl.compress(data)

# Decompress.
decompressed_data = rvl.decompress(compressed_data)
```

