Repository navigation
v2.4.0
nameparser 2.4 reads post-nominal credentials much more reliably, recognizes more naming conventions, and writes credentials the usual way when it repairs case.
- Capitals tell a credential from a surname.
Jack MAis Jack with an MA andJack Mais the surname Ma, where 2.3 read both as the surname. Credentials the word lists don't carry, such asLEED APandN.C.C., are read too. - Credentials after a name stay together.
Jane Smith, PhD MAgives suffixPhD MA, where 2.3 readPhDas her first name, andEric H. Holder Jr. Attorney Generalgives suffixJr.and titleAttorney General. - More naming conventions. The Catalan surname link (
Josep Carod i Rovira), the Irish particles (Liam Ó Murchú), salutations in Finnish, Icelandic, Malay and other languages (Herra Väinö Johansson), and Japanese names in halfwidth katakana (山田 タロウ). - Case repair writes credentials the usual way.
john smith phdcapitalizes toJohn Smith PhDandJANE DOE MBAtoJane Doe MBA. - More ambiguity reports, each naming the field its word ends up in.
- Python 3.15 support.
Full list of changes: https://nameparser.readthedocs.io/en/latest/release_log.html