Skip to main content

Univo

Compare anything. Keep every record clean.

Find duplicates in Python data, from text datasets to structured records. Combine fuzzy matching, local embeddings and field-level rules. Fast, lightweight, no server required.

PyPI Python 3.11+ License: MIT

pip install univo
from univo import Finder

names = ["Northwind Traders", "Contoso", "Northwnd Traders", "NORTHWIND TRADERS", "Fabrikam"]
for match in Finder().find(names, min_score=0.8).matches:
    print(names[match.left_id], "~", names[match.right_id], round(match.score, 2))
Northwind Traders ~ NORTHWIND TRADERS 1.0
Northwind Traders ~ Northwnd Traders 0.94
Northwnd Traders ~ NORTHWIND TRADERS 0.94

No training and no API key: records never leave your machine.

By default, find returns up to 1,000 matches scoring 0.8 or more (limit, min_score), and text is compared by spelling. Text(mode="semantic") compares by meaning, with a local model: the 15 MB multilingual default, or any Model2Vec model from Hugging Face or a folder. More: choosing a mode, choosing a model, every option.

Built for data cleaning, entity resolution, ML dataset deduplication and real-time duplicate checks.

Records and rules

A schema says which fields to compare, how, and which differences rule out a match. Nested fields are reached by path.

from univo import Exact, Finder, Schema, Text

schema = Schema(
    id_field="id",
    fields={"name": Text(), "address.city": Text(), "vat": Exact(conflict="reject")},
)
finder = Finder(schema=schema)
finder.add(
    [
        {"id": 1, "name": "Northwind Traders SAS", "address": {"city": "LYON"}, "vat": "FR401"},
        {"id": 2, "name": "Northwind Traders", "address": {"city": "Lyon"}, "vat": "FR999"},
    ]
)
query = {"id": 3, "name": "Northwind Traders", "address": {"city": "Lyon"}, "vat": "FR401"}
for match in finder.search(query).matches:
    print(match.right_id, round(match.score, 2), match.reasons)
1 0.94 ['name: trigrams', 'address.city: edit_distance', 'vat: exact']

Record 2 has another VAT number, so it can never match.

Meaning, with the model you choose

from univo import Finder, Schema, Text

finder = Finder(
    schema=Schema(fields={"description": Text(mode="semantic")}),
    model="minishlab/potion-base-8M",  # any Model2Vec model on Hugging Face, or a folder
)
texts = ["online clothing store", "shop selling clothes on the internet", "steel factory"]
report = finder.find([{"description": text} for text in texts], min_score=0.6)
for match in report.matches:
    print(texts[match.left_id], "~", texts[match.right_id], round(match.score, 2))
online clothing store ~ shop selling clothes on the internet 0.74

Without model, Univo uses its 15 MB multilingual default. The model downloads once, is verified, then works offline (models).

Why Univo

  • Records, not just strings. Dicts, lists and nested fields, compared field by field, with an explanation for every match.
  • Rules before scores. Different VAT numbers, tenants or environments rule out a match, however alike the records look.
  • Spelling, meaning and exact values, chosen per field, with a 15 MB multilingual model that runs offline, or any Model2Vec model you choose.
  • Fast, exact by default, and light. 100,000 names deduplicated in 4.5 s. Search is exact by default, with explicit limits and optional approximate retrieval. One 2 MiB wheel, no Python dependency.

New records as they arrive

Keep an index and check each new record before you store it.

finder = Finder(
    schema=Schema(id_field="id", fields={"name": Text(), "vat": Exact(conflict="reject")})
)
finder.add([{"id": 1, "name": "Northwind Traders", "vat": "FR401"}])

finder.check_or_add({"id": 2, "name": "Northwnd Traders", "vat": "FR401"}).status  # "review"
finder.check_or_add({"id": 3, "name": "Contoso", "vat": "FR777"}).status  # "inserted"
finder.check_or_add({"id": 4, "name": "Northwind Traders", "vat": "FR401"}).status  # "matched"

review means a similar record exists and nothing was inserted: your application decides.

Checking one new record against 100,000 synthetic company names, in one partition, at the default threshold of 0.8, with the model already loaded (Apple M2, Univo 1.0.2, script):

Name field Median p95
Lexical 0.16 ms 0.4 ms
With embeddings 0.51 ms 0.56 ms

Times depend on your data: they grow with the records of a partition and with the number of close candidates. Indexes can be updated, saved and loaded (mutations, snapshots).

Compared with other tools

Tool Built for Choose Univo when
RapidFuzz Fast similarity between two strings you want duplicate records, not string scores
SemHash Semantic deduplication of text datasets some fields must agree, such as IDs, tenants or environments
Dedupe Matching learned from labelled examples you want results without labelling or training
Splink Probabilistic record linkage at scale, on SQL engines you want an in-process library that also checks records one at a time

Against SemHash 0.5.0, with the same model, on an Apple M2 on mains power:

Univo SemHash
Deduplicate 100,000 names, semantic 4.4–4.6 s, 197 MiB 7.8–8.3 s, 489 MiB
Organization aliases (ROR), test precision / recall 62.5% / 32.1% 48.0% / 30.1%
Structured records: forbidden matches, of 44 0 35
Installed size 4 MiB, 1 package 64 MiB, 30 packages

Univo's search is exact; SemHash's index is approximate. On names alone, neither tool is precise enough to merge automatically, so Univo returns scored candidates, not decisions. Method and every result: benchmarks.

The default model loads in about 10 ms and adds 20 MiB of memory, a fifth of 1.0.1's 111 MiB.

Documentation

Website · Guide · API · Benchmarks · Architecture · All docs

Metadata

Release files for univo 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for univo 1.0.2
File Size Uploaded Provenance Actions
univo-1.0.2.tar.gz 261.9 kB With provenance Details for univo-1.0.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for univo 1.0.2
File Actions
univo-1.0.2-cp311-abi3-win_arm64.whl CPython 3.11 abi3 Windows ARM64 Details for univo-1.0.2-cp311-abi3-win_arm64.whl
univo-1.0.2-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for univo-1.0.2-cp311-abi3-win_amd64.whl
univo-1.0.2-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for univo-1.0.2-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
univo-1.0.2-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for univo-1.0.2-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
univo-1.0.2-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for univo-1.0.2-cp311-abi3-macosx_11_0_arm64.whl
univo-1.0.2-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for univo-1.0.2-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 13.0 MB

Release files / univo-1.0.2.tar.gz

Download URL univo-1.0.2.tar.gz
Size 261.9 kB
Tags Source
SHA-256 checksum
How to use checksums
771c184ba4ad22e083d85865abbda9d2d704f841758f752ea0fc9d2cab4fa805
BLAKE2b-256 checksum
How to use checksums
94d46de7702eb5096d6fe208cb29cf7e903b333bfa05599d21f24d94e3e1191c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / univo-1.0.2-cp311-abi3-win_arm64.whl

Download URL univo-1.0.2-cp311-abi3-win_arm64.whl
Size 2.1 MB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
be2772feabb3d1fe2a0d3b986e498f2f2a567b8257c658925528eae3a79d7564
BLAKE2b-256 checksum
How to use checksums
c10e1928881eb3b67e8926190afe843c5f9a2348359efd8d21adbf1fe3bad223
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / univo-1.0.2-cp311-abi3-win_amd64.whl

Download URL univo-1.0.2-cp311-abi3-win_amd64.whl
Size 2.2 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
8d3acdcdaf636396a91afa4fa0d7fdcbed858eecf7d20ea86bdd8778c71bd86b
BLAKE2b-256 checksum
How to use checksums
43805d799ec1ad5d360dab48a2cfc144004b30ae0e19a7c64b68b078e0cf6db6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / univo-1.0.2-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL univo-1.0.2-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 2.2 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
7755efbfc750820ad3e4766e263c7215d31a5fcf62a32cabb08f14df5928a9c5
BLAKE2b-256 checksum
How to use checksums
0cae70124b4778ff20a8f8f3396b35590f3ac86b935fdb79e78c7f60a91e5e05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / univo-1.0.2-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL univo-1.0.2-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 2.1 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
aa52bf13b249cabcc8e7826a4201474d94f2090f4b9d8332f0e5a0c6b8a42905
BLAKE2b-256 checksum
How to use checksums
dc5769d8332cc6216988524612f3d539715ed5988b6bb003ee47cdb4105d7741
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / univo-1.0.2-cp311-abi3-macosx_11_0_arm64.whl

Download URL univo-1.0.2-cp311-abi3-macosx_11_0_arm64.whl
Size 2.0 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3e06eaed48c63730d6420e900c9799bd31561f2fa42ef9e297b73a50bdb3c633
BLAKE2b-256 checksum
How to use checksums
9d360ae39793074de0ad0b0e261d636713479bd763fc1749eb8f02b1341e4c68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / univo-1.0.2-cp311-abi3-macosx_10_12_x86_64.whl

Download URL univo-1.0.2-cp311-abi3-macosx_10_12_x86_64.whl
Size 2.1 MB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
51ca3f67aaa10bf0cf8094e30d3c918a508298c2099d016142d492332008a3ad
BLAKE2b-256 checksum
How to use checksums
18eaef0c22ca7ba2fe9246ce1c011fb16ef907d54030540f85a7a9c33bc4d070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for univo 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for univo-1.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.2 This release

7 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page