Metadata-Version: 2.1
Name: levenshtein_rs
Version: 0.1.6
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: License :: OSI Approved :: MIT License
License-File: LICENSE
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# levenshtein_rs
Given `x: list[str]` and `y: list[str]`, this package calculates the Levenshtein distance between `a` and `b`.

## Usage
```python
from levenshtein_rs import levenshtein_list
a = "Testing one two three"
b = "one two three four"
print(levenshtein_list(a.split(), b.split()))
# 2
```

This project uses the MIT license.

## Building from source

This is a Rust project wrapped with maturin.

`nix develop` will install dependencies (direnv is supported). Alternatively, you can install cargo using rustup and install maturin using pip.

`maturin develop` will compile the project and install it into the current Python environment.

`maturin publish` will publish to PyPi.

