csv-reconcile-fingerprint
A scoring plugin for csv-reconcile using fingerprint clustering. It generates a fingerprint of the input string by normalizing, removing punctuation, and sorting unique tokens. Based on the OpenRefine clustering implementation https://openrefine.org/docs/technical-reference/clustering-in-depth and code from this gist by @pietz.
The resulting strings are compared with Jaccard distance to output a score between 0 and 100.
Installation and Usage
Install this library using pip:
pip install csv-reconcile
This a plugin to the csv reconciliation plugin. So you just have to install csv reconcile package and specify the scorer with '--scorer fingerprint' when initiating the reconciliation service.
Development
To contribute to this library, first checkout the code. Then create a new virtual environment:
cd csv-reconcile-fingerprint
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
python -m pip install -e '.[test]'
To run the tests:
python -m pytest
Metadata
Release files for csv-reconcile-fingerprint 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| csv_reconcile_fingerprint-0.1.8.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| csv_reconcile_fingerprint-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.4 kB
Release files / csv_reconcile_fingerprint-0.1.8.tar.gz
| Download URL | csv_reconcile_fingerprint-0.1.8.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08db829e922344f121cb715b33760e6d39881b80777a34d0c8f4df6c3939618d
|
|
BLAKE2b-256 checksum How to use checksums |
12dac60d12d470c6023356b776d167ac43bb9dc2a84b169fc0253379a839d24e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 17, 2025.
Transparency logRelease files / csv_reconcile_fingerprint-0.1.8-py3-none-any.whl
| Download URL | csv_reconcile_fingerprint-0.1.8-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59b6fad4d7fb4094b38e051e6b2c38964d1456b16837b60f4e3311096fd00d45
|
|
BLAKE2b-256 checksum How to use checksums |
e91151d8459b8ccaf6d17fd8d9edbe1e167e445ab4f89a3abbe5dc9b5354128c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 17, 2025.
Transparency log