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.
Release files for liken 0.9.2
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.9.2.tar.gz | 39.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| liken-0.9.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 108.5 kB
Release files / liken-0.9.2.tar.gz
| Download URL | liken-0.9.2.tar.gz |
|---|---|
| Size | 39.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6480799ec30c2d2b56d26a499525d340008faed40076da798d3c0d03fc08632
|
|
BLAKE2b-256 checksum How to use checksums |
0a08143fa8500b95be27c6bc87b382d39163e44f487d9c001e01929eb19b3e5b
|
| 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.9.2-py3-none-any.whl
| Download URL | liken-0.9.2-py3-none-any.whl |
|---|---|
| Size | 68.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0541ee5c5bd1e591f8968e2d1bc0fd878f246e4ad8fe1e052447f4fc55896337
|
|
BLAKE2b-256 checksum How to use checksums |
f7d468c9f159c5dd5d3002f234e776ccb05ef39e515ff20b80511320440d3545
|
| 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}
|