$npx skillfedfor your agent

rensa

High-performance MinHash implementation in Rust with Python bindings - 40x faster than datasketch

Worth itPyPI Information AnalysisReleased Jul 202696.9K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — rensa-0.4.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl · rensa-0.4.1-cp310-cp310-manylinux_2_28_aarch64.whl · rensa-0.4.1-cp310-cp310-manylinux_2_28_armv7l.whl
v0.4.1 · released 2026-07-23 · Python >=3.8

Yes. Rensa is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and offers substantial speed gains over comparable Python libraries (datasketch, FastSketch) with near-identical results. Install friction is moderate due to compiled bindings, but prebuilt wheels cover common platforms. Use it if you need to deduplicate or find similar items in large datasets and speed matters.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.8.
  • Prebuilt wheels available for Linux, macOS, and Windows; other platforms may require building from source.
  • Medium install friction due to compiled Rust bindings, but wheels are prebuilt for common platforms (Linux, macOS, Windows) and Python versions.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions.

last release 2026-07-23 (22 days) · last repo commit 2026-08-04 · 371 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 96,884 downloads/mo, #13,188 on PyPI

Verify before relying

pip install rensa

from rensa import RMinHash

m1 = RMinHash(num_perm=128, seed=42)
m1.update("the quick brown fox".split())

m2 = RMinHash(num_perm=128, seed=42)
m2.update("the quick brown cat".split())

print(m1.jaccard(m2))
  • Whether the 608.52x speedup vs datasketch holds across all use cases or only the reference benchmark conditions.
  • Whether C-MinHash's formal variance proofs provide practical advantages for specific deduplication thresholds.
  • Performance characteristics when working with non-ASCII or very large token sets.
Same gist for agents: .md · .json

What it is and what it does

Rensa is a Rust-based MinHash library that estimates Jaccard similarity between sets and identifies near-duplicates in large datasets. It implements two variants: R-MinHash (Rensa's own, optimized for speed) and C-MinHash (based on published research with formal variance bounds). The core algorithm applies k random hash functions to a set and keeps the minimum value from each; sets sharing many elements produce similar minimums, and the fraction of matching slots estimates the Jaccard index.

Rensa replaces the traditional modular reduction step with multiply-shift hashing, which is faster on modern CPUs and naturally produces 32-bit signatures (half the memory of standard implementations). It includes batch APIs for bulk operations, LSH (Locality Sensitive Hashing) indexing for efficient candidate retrieval, and a deduplicator for end-to-end workflows. The library has no runtime dependencies and supports Python 3.8 and later on CPython and PyPy.

Use it for

  • Find and remove near-duplicate documents or SQL queries in large datasets using LSH indexing and batch deduplication.
  • Estimate Jaccard similarity between tokenized text sets without computing exact set intersection.
  • Build a searchable index of document signatures to quickly retrieve candidates above a similarity threshold.
  • Deduplicate synthetic or generated datasets where exact matching is too strict but similarity thresholds are appropriate.
  • Batch-process thousands of token sets into MinHash signatures with minimal Python call overhead.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Rensa is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and offers substantial speed gains over comparable Python libraries (datasketch, FastSketch) with near-identical results. Install friction is moderate due to compiled bindings, but prebuilt wheels cover common platforms. Use it if you need to deduplicate or find similar items in large datasets and speed matters.

Install

rensa on PyPI

Before you install

Medium install friction due to compiled Rust bindings, but wheels are prebuilt for common platforms (Linux, macOS, Windows) and Python versions. Active maintenance with recent releases; last commit 2026-08-04.

Requires Python >= 3.8. Prebuilt wheels available for Linux, macOS, and Windows; other platforms may require building from source.

License in practice

MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions.

Quickstart

pip install rensa

from rensa import RMinHash

m1 = RMinHash(num_perm=128, seed=42)
m1.update("the quick brown fox".split())

m2 = RMinHash(num_perm=128, seed=42)
m2.update("the quick brown cat".split())

print(m1.jaccard(m2))

Verify before relying

  • Whether the 608.52x speedup vs datasketch holds across all use cases or only the reference benchmark conditions.
  • Whether C-MinHash's formal variance proofs provide practical advantages for specific deduplication thresholds.
  • Performance characteristics when working with non-ASCII or very large token sets.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 22 days since the last release
Last repo commit
First released
Downloads96,884 / month, #13,188 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: Rust

Evidence: rensa-0.4.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl; rensa-0.4.1-cp310-cp310-manylinux_2_28_aarch64.whl; rensa-0.4.1-cp310-cp310-manylinux_2_28_armv7l.whl; rensa-0.4.1-cp310-cp310-manylinux_2_28_ppc64le.whl; rensa-0.4.1-cp310-cp310-manylinux_2_28_s390x.whl; rensa-0.4.1-cp310-cp310-manylinux_2_28_x86_64.whl; rensa-0.4.1-cp310-cp310-musllinux_1_2_aarch64.whl; rensa-0.4.1-cp310-cp310-musllinux_1_2_armv7l.whl; rensa-0.4.1-cp310-cp310-musllinux_1_2_i686.whl; rensa-0.4.1-cp310-cp310-musllinux_1_2_x86_64.whl; rensa-0.4.1-cp310-cp310-win_amd64.whl; rensa-0.4.1-cp311-cp311-macosx_10_12_x86_64.whl; rensa-0.4.1-cp311-cp311-macosx_11_0_arm64.whl; rensa-0.4.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl; rensa-0.4.1-cp311-cp311-manylinux_2_28_aarch64.whl; rensa-0.4.1-cp311-cp311-manylinux_2_28_armv7l.whl; rensa-0.4.1-cp311-cp311-manylinux_2_28_ppc64le.whl; rensa-0.4.1-cp311-cp311-manylinux_2_28_s390x.whl; rensa-0.4.1-cp311-cp311-manylinux_2_28_x86_64.whl; rensa-0.4.1-cp311-cp311-musllinux_1_2_aarch64.whl

Tags

Capabilities
minhash similarity estimationnear-duplicate detectiondataset deduplicationjaccard similarity fastlsh locality sensitive hashingtext deduplicationdocument similarity
Topics
deduplicationsimilarity-searchrust-bindings

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “jaccard similarity fast”

  • rensaRensa computes MinHash signatures for fast similarity estimation and…
  • datasketchProvides probabilistic data structures (MinHash, HyperLogLog, and…
  • simsimdSimSIMD provides SIMD-optimized kernels for computing vector…

Give your agent the search over MCP, or paste the wish link into any chat.

More Information Analysis packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyarrow Worth it
PyPI · Information Analysis · released Aug 2026

pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.

Apache-2.0compiled wheel · 3.10+
432.9Mdownloads / mo
networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
snowflake-snowpark-python Worth it
PyPI · Software Development · released Jul 2026

Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.

Install it if you use Snowflake and want to process data without moving it to your application layer.

Apache-2.0pure Python
100.7Mdownloads / mo

See also datasketch · semhash · simhash · array-record · imagededup · mhfp · py-tlsh · murmurhash · xxhash · py-multihash