Skip to main content

Human Name Compare

human_name_compare PyPI version

the Problem:

Check if Dr. Peter Müller and Peter K. Müller and Dr. med. Peter Karsten Müller and P. Müller indicate if its the same person

There are gazillion tiny bits and pieces which makes this trivial task hard e.g.:

  • "R. Schönthal" "Robert Schönthal" - the only have initials on one side
  • "Erik Schönthal" "Robert Schönthal" - the firstname name doesnt match
  • "Robert Erik Schönthal" "Robert Peter Schönthal" - the middle name doesnt match
  • "Robert-Erik Schönthal" "Robert Erik Schönthal" - we have an "-" in our firstnames
  • "Robeert Schönthal" "Robert Schönthal" - the firstname has a typo
  • "Robert Müller" "Robert Schönthal" - the lastname doesnt match
  • "Herr Robert Müller" "Dr. med. Robert Schönthal" - we have some prefixes

and so on...

Usage

CLI

$ hn-compare compare "Robert Schönthal" "Robert Schönthal"

Python

from human_name_compare import match_name

match_name("Robert Schönthal", "Robert Schönthal")

Tests

$ python -m pytest .

Metadata

Release files for human-name-compare 0.4.1

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

Source distribution (sdist)

Source distribution for human-name-compare 0.4.1
File Size Uploaded
human-name-compare-0.4.1.tar.gz 7.9 kB Details

Release files / human-name-compare-0.4.1.tar.gz

Download URL human-name-compare-0.4.1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ee62686efc167f7e7d9004f4f97f75a3bb7b6f4da8b12512d0bf3f800b81478c
BLAKE2b-256 checksum
How to use checksums
9a0e62639f36a61553c0d94197096f707a060894338ecc8c3e773e2e62c6c674
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/65.6.3 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.16

Release history Release notifications | RSS feed

This release

0.4.1 This release

1 release file

0.3.17

1 release file

0.3.16

1 release file

0.3.15

1 release file

0.3.14

1 release file

0.3.13

1 release file

0.3.12

1 release file

0.3.11

1 release file

0.3.10

1 release file

0.3.9

1 release file

0.3.8

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

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