Skip to main content

jaccard_index

Jaccard Index Computation

This package provides computation Jaccard Index based on n-grams for strings. This can be used as a metric for computing similarity between two strings e.g. Indentity resolution

Installation

Install using pip:

#  pip install jaccard-index 

To install using the archive, unpack it and run:

# python setup.py install

Usage

A common use case is to compare strings for similarity:

>>> from jaccard_index.jaccard import jaccard_index
>>> jaccard_index("abc","")
0
>>> jaccard_index("accessary", "accessory")
0.6
>>> jaccard_index("coffee", "coffee")
1

Metadata

Release files for jaccard-index 0.0.3

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

Source distribution (sdist)

Source distribution for jaccard-index 0.0.3
File Size Uploaded Provenance Actions
jaccard_index-0.0.3.tar.gz 1.8 kB Without provenance Details for jaccard_index-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jaccard-index 0.0.3
File Interpreter ABI Platform Actions
jaccard_index-0.0.3-py3-none-any.whl Python 3 none any Details for jaccard_index-0.0.3-py3-none-any.whl

Total release size: 4.1 kB

Release files / jaccard_index-0.0.3.tar.gz

Download URL jaccard_index-0.0.3.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e56aa314452dfd20f3b54ecb5294d52e7360c370d2582388cc29e31823aca674
BLAKE2b-256 checksum
How to use checksums
51e8ba9b2e28b7ddee139606d27a314a6baef7f2212a8123a2853216a231d5e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / jaccard_index-0.0.3-py3-none-any.whl

Download URL jaccard_index-0.0.3-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff37a8921006b6a5ba33f738ff00890ae30bfe8545a8b68d23c6ea16e7fb1dc8
BLAKE2b-256 checksum
How to use checksums
e766a066229192ef1323b5a36bfc68a7d2e850227f96c0754349072369470255
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for jaccard-index 0.0.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

0.0.3 This release

2 release files No 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