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.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.10.2.tar.gz | 40.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| liken-0.10.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 109.6 kB
Release files / liken-0.10.2.tar.gz
| Download URL | liken-0.10.2.tar.gz |
|---|---|
| Size | 40.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd46d0b250a98050adaa6968c9b8f5c4d911c8edf16b863cb9d0cbba5e96cd50
|
|
BLAKE2b-256 checksum How to use checksums |
6abefee3826ee364cc6af5d4ef576ad419cbf48ecbc7bce0755835f46bf52b25
|
| 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.2-py3-none-any.whl
| Download URL | liken-0.10.2-py3-none-any.whl |
|---|---|
| Size | 68.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1403c18038239134d91cc85f40103fb85a2ab0f682d725f4ddcc4d53d07c3ed7
|
|
BLAKE2b-256 checksum How to use checksums |
fc55a4d6494cacccd0b042b7a82e2dd9b5c08eb8a1ec135fda4f14ee7020389c
|
| 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}
|