From 6269c6a118a657cd0e3b162fefab528524373ad8 Mon Sep 17 00:00:00 2001 From: Derek Gulbranson Date: Sun, 5 Jul 2026 22:38:16 -0700 Subject: [PATCH 1/2] Update docs for the maiden field (#22) that never got documented docs/index.rst's attribute list and CONTRIBUTING.md's debug-CLI example output both predate the maiden field added in 1.3.0 -- every HumanName repr has included it since, but these two docs were never updated to match. Co-Authored-By: Claude Sonnet 5 --- CONTRIBUTING.md | 11 +++++++++++ docs/index.rst | 1 + 2 files changed, 12 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 973d142..de84d7c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,7 +28,18 @@ You can also pass a name string to see how it will be parsed: last: 'Rodham-Clinton' suffix: '' nickname: '' + maiden: '' ]> + + Initials: H. R. CI runs tests against Python 3.10–3.14 via GitHub Actions on every push and pull request. diff --git a/docs/index.rst b/docs/index.rst index f644d8f..f7ce076 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -17,6 +17,7 @@ components. * hn.last * hn.suffix * hn.nickname +* hn.maiden Supports 3 different comma placement variations in the input string. From 74337fbdf1102ec1493bd9c5c8d94410e12ed6dc Mon Sep 17 00:00:00 2001 From: Derek Gulbranson Date: Sun, 5 Jul 2026 22:41:06 -0700 Subject: [PATCH 2/2] Lowercase the CONTRIBUTING.md example input so capitalize() has visible effect The name was already properly capitalized, so the second repr (after .capitalize()) was identical to the first -- didn't actually demonstrate what the CLI's capitalize step does. Co-Authored-By: Claude Sonnet 5 --- CONTRIBUTING.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index de84d7c..34ca749 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,12 +20,12 @@ Run a single test file or test: You can also pass a name string to see how it will be parsed: - $ python -m nameparser "Secretary of State Hillary Rodham-Clinton" + $ python -m nameparser "secretary of state hillary rodham-clinton"