Introduction
Liken is a library providing enhanced deduplication tooling for DataFrames.
The key features are:
- Near deduplication
- Ready-to-use deduplication methods
- Record linkage and canonicalization
- Rules-based deduplication
- Pandas, Polars and PySpark support
- Customizable in pure Python
A flexible API
Checkout the API Documentation
Installation
pip install liken
Example
import liken as lk
df = lk.dedupe(df).apply(lk.fuzzy()).drop_duplicates("address")
Development
Local setup, checks, and prek hooks:
# Install the project
task install
# Format code
task format
# Lint and type-check
task lint
# Run unit and integration tests
task test
prek runs the same checks on every commit. Install the hooks once:
uv tool install prek
prek install
License
This project is licensed under the Apache-2.0 License. See the LICENSE file for more details.
Metadata
Release files for liken 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| liken-0.10.0.tar.gz | 41.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| liken-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 113.0 kB
Release files / liken-0.10.0.tar.gz
| Download URL | liken-0.10.0.tar.gz |
|---|---|
| Size | 41.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffd22b2a63792642ef7305f2a49a297c31492f50ef599ca40006829e204f9a98
|
|
BLAKE2b-256 checksum How to use checksums |
22666d0ca5b1eeb9aec458b52d11dd46d7416f012ec64b2db924ee5a70005bbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / liken-0.10.0-py3-none-any.whl
| Download URL | liken-0.10.0-py3-none-any.whl |
|---|---|
| Size | 71.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06a3274fe9f8c3612f906161a898020e391b7a9e64a35e986bef3187211c72db
|
|
BLAKE2b-256 checksum How to use checksums |
de35ef2d5c313fba353dfbe2964347f38352b0970e3e38b67f8df45711dd45e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|