Skip to main content

nameproof

CI PyPI Python License: Apache-2.0

Open-source, explainable name matching across scripts for payments.

Is "Γιώργος Παπαδόπουλος" the same payee as "Giorgos Papadopoulos" or "G. Papadopoulos"? nameproof answers Match / Close match / No match for EU Verification of Payee (VoP), UK Confirmation of Payee and KYC, and explains every decision.

▶ Try it in your browser: nothing you type leaves the page.

pip install nameproof
  • Latin script with diacritics (José García, Wałęsa, Müller = Mueller, Đoković = Djokovic)
  • Greek, Cyrillic and Arabic: official romanisations (ELOT 743, ICAO 9303, national systems)
  • Real names: initials, word order, particles (van der, al-), compound names, titles, joint accounts
  • Companies: about 1,400 legal forms (GmbH, Sp. z o.o., S.R.L., ΑΕ, ЕООД, …) from the GLEIF ISO 20275 list
  • Safe by design: follows the EPC matching recommendations (EPC288-23 v2.0): only names identical after clean-up match; the real name is only revealed on a close match, never to a probe like a surname alone
  • Deterministic and fast: versioned policies, CPU-only, typically under 1 ms per check, bounded work for crafted input, no data leaves your servers
  • EPC VoP responder included, tested against the EPC reference test cases

Benchmark

Same person wrongly rejected: nameproof 9.5%, token-sort 63.8%, Levenshtein 76.5%, exact match 89.8%. Same person auto-matched: nameproof 41.7%, token-sort 26.2%, Levenshtein 11.3%, exact match 10.2%. Different people falsely matched: 0.0% for every system.

On nameproof-bench, 6,000 labelled name pairs across Greek, Cyrillic, Arabic and Latin scripts built from Wikidata, against typical fuzzy-matching baselines:

nameproof token-sort Levenshtein exact
Same person wrongly rejected (lower is better) 9.5% 63.8% 76.5% 89.8%
Same person auto-matched (higher is better) 41.7% 26.2% 11.3% 10.2%
Different people falsely matched (fraud risk) 0.0% 0.0% 0.0% 0.0%

Everything nameproof doesn't auto-match or reject is a CLOSE_MATCH: the payer is shown the real name and decides. Typos and initials land there by design. Full per-script and per-variation results: docs/BENCHMARK.md.

uv run nameproof bench bench/data/nameproof-bench-v1.jsonl

Verification of Payee service

nameproof also ships an HTTP responder that speaks the EPC VoP Inter-PSP API (EPC103-24 v1.1.1) and is tested against the EPC reference test cases (EPC139-25 v1.2):

pip install "nameproof[service]"
NAMEPROOF_DIRECTORY=json:examples/accounts.json nameproof serve
$ curl -X POST localhost:8080/vop/v1/payee-verifications -H 'Content-Type: application/json' \
    -H "X-Request-ID: $(uuidgen)" -H "X-Request-Timestamp: $(date -u +%FT%TZ)" \
    -d '{"party": {"name": "Yorgos Papadopoulos"}, "partyAccount": {"iban": "GR1601101250000000012300695"},
         "partyAgent": {"financialInstitutionId": {"bicfi": "ABCDBEBBXXX"}},
         "requestingAgent": {"financialInstitutionId": {"bicfi": "ABCDBEB0XXX"}}}'
{"partyNameMatch":"CMTC","matchedName":"Giorgos Papadopoulos"}

Docker image, configuration, account-directory plugins and the conformance table: docs/SERVICE.md.

Quickstart

from nameproof import match

match("Jon Smyth", ["John Smith"])
# Verdict(result=CLOSE_MATCH, score=0.8442, suggested_name='John Smith', explanation=('fuzzy_token',), ...)

match("Mueller Anna", ["Anna Müller"]).result  # MATCH  (letter_expansion, token_reorder)
match("Maria Garcia", ["Mario Garcia"]).result  # CLOSE_MATCH, never MATCH: spellings differ
match("John Smith", ["John and Mary Smith"]).result  # MATCH  (joint_account_holder, shared_surname)
$ nameproof match "Jon Smyth" "John Smith"
CLOSE_MATCH  score=0.8442  policy=epc-default@1
  suggested name: John Smith
  why: fuzzy_token

How verdicts work (default policy epc-default@1, following EPC288-23 v2.0):

Result When
MATCH identical after clean-up: case, diacritics, punctuation, titles, word order of a person's name, official romanisation of the stored name. A person's extra middle names or a trailing female patronymic are allowed (first and last name exact)
CLOSE_MATCH small differences: a typo, swapped letters, an initial, an abbreviation, a dropped particle (van), a legal form spelled differently or missing, company words in another order. The real name is returned so the payer can decide
NO_MATCH a different person or company, or too little to go on (a surname alone, initials alone, a generic word like GmbH)
NOT_POSSIBLE nothing to compare: empty, longer than 140 characters or 10 words, or a script nameproof can't romanise yet

Banks that accept dropped particles, legal-form variants and reordered company names as a match can use the lenient@1 policy.

Every verdict lists stable explanation codes (Reason) that never contain name fragments, and the account holder's name is only ever exposed on CLOSE_MATCH.

Data sources

  • Company legal forms: the ISO 20275 Entity Legal Forms code list v1.6, published by GLEIF under CC0 1.0. nameproof is not affiliated with or endorsed by GLEIF.
  • Benchmark names: Wikidata (CC0 1.0), deceased people only.
  • Romanisation tables are written from the public standards (ELOT 743, ICAO 9303, BGN/PCGN, the Bulgarian and Ukrainian national systems).

Development

uv sync
uv run pytest

See CONTRIBUTING.md. Report security issues privately — see SECURITY.md.

Licensed under Apache-2.0.

Metadata

Release files for nameproof 0.1.0

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

Source distribution (sdist)

Source distribution for nameproof 0.1.0
File Size Uploaded Provenance Actions
nameproof-0.1.0.tar.gz 389.2 kB With provenance Details for nameproof-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nameproof 0.1.0
File Interpreter ABI Platform Actions
nameproof-0.1.0-py3-none-any.whl Python 3 none any Details for nameproof-0.1.0-py3-none-any.whl

Total release size: 476.8 kB

Release files / nameproof-0.1.0.tar.gz

Download URL nameproof-0.1.0.tar.gz
Size 389.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a773df7be7d9199e423a9ce901529f612401932ef4f5bdb0134e2c9371497dfa
BLAKE2b-256 checksum
How to use checksums
e20bdae0d55f9f5373c1ab2773ec7282d72dbd2bba23ee8c445b6e5cd317c3fd
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 / nameproof-0.1.0-py3-none-any.whl

Download URL nameproof-0.1.0-py3-none-any.whl
Size 87.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68160201bf424e53c518ab549185767b119471fd13edde2bd1555337cf158c50
BLAKE2b-256 checksum
How to use checksums
a335e352421c980ec4d5073634f0cb3429962ad86abe9f5399d568523b1c973c
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 nameproof 0.1.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nameproof-0.1.0.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.

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