René's URL Explorer Experiment


Title: nameparser 2.0: a new core API, with full compatibility through 2.x — direction and feedback · Issue #284 · derek73/python-nameparser · GitHub

Open Graph Title: nameparser 2.0: a new core API, with full compatibility through 2.x — direction and feedback · Issue #284 · derek73/python-nameparser

X Title: nameparser 2.0: a new core API, with full compatibility through 2.x — direction and feedback · Issue #284 · derek73/python-nameparser

Description: nameparser 2.0 is in design. This issue is the front door: the short version, links to the full design, and the specific feedback that would help most. There is no deadline — comment whenever; implementation will proceed in parallel and ...

Open Graph Description: nameparser 2.0 is in design. This issue is the front door: the short version, links to the full design, and the specific feedback that would help most. There is no deadline — comment whenever; impl...

X Description: nameparser 2.0 is in design. This issue is the front door: the short version, links to the full design, and the specific feedback that would help most. There is no deadline — comment whenever; impl...

Opengraph URL: https://github.com/derek73/python-nameparser/issues/284

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"nameparser 2.0: a new core API, with full compatibility through 2.x — direction and feedback","articleBody":"nameparser 2.0 is in design. This issue is the front door: the short version, links to the full design, and the specific feedback that would help most. There is no deadline — comment whenever; implementation will proceed in parallel and alphas will be announced here.\n\n## The promise\n\n**Code that runs warning-free on 1.4 keeps running on every 2.x release with identical results**, getting at most `DeprecationWarning`s. `HumanName` continues to work as a compatibility layer. The old API is removed in 3.0, not 2.x, and only after every removal has warned first. If you use `HumanName` and don't customize configuration, 2.0 should be a non-event.\n\n## What's new\n\nA second, immutable API alongside `HumanName`:\n\n```python\nfrom nameparser import parse\n\nname = parse(\"Dr. Juan Q. Xavier de la Vega III\")\nname.given         # \"Juan\"      (the new API says given/family, not first/last)\nname.family        # \"de la Vega\"\nname.family_base   # \"Vega\"\n```\n\n- `parse()` returns a frozen value object; no mutable state anywhere in the new API\n- configuration becomes immutable `Lexicon` (vocabulary) + `Policy` (behavior) objects you build at startup — no more mutating shared `CONSTANTS` (which keeps working through 2.x, with a warning)\n- family-first name order (`Policy(name_order=FAMILY_FIRST)`) and opt-in locale packs (`RU`, `TR_AZ` at 2.0.0; zh/ko/vi/ja staged)\n- genuinely ambiguous parses are *reported* (`name.ambiguities`) instead of silently guessed\n- still deterministic, rules-based, zero dependencies; Python ≥ 3.11\n\n## Read and comment\n\n- **The full RFC: #285** — line comments welcome there; it covers the API, migration mechanics, timeline, and rejected alternatives\n- **[Milestone v2.0](https://github.com/derek73/python-nameparser/milestone/35)** — the tracked removals and changes\n\n## Feedback that would help most\n\n1. Do you compare `HumanName` objects with `==` (especially against strings), or use them in sets/dicts? (2.0 changes this to object identity — warned since 1.3.0; `matches()`/`comparison_key()` are the replacements. The one silent behavior change.)\n2. Do you subclass `HumanName` and override parsing methods? Tell us what the override does — we'd rather absorb it as a feature than break it silently (#280).\n3. Do you mutate `CONSTANTS` after startup, not just at import time?\n4. Do you assign custom regexes to `CONSTANTS.regexes`? What for?\n5. `given`/`family` instead of `first`/`last` in the new API — help or annoy?\n6. Do you build anything on top of nameparser where the promise above would still break you?\n","author":{"url":"https://github.com/derek73","@type":"Person","name":"derek73"},"datePublished":"2026-07-12T03:47:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/284/python-nameparser/issues/284"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a8ef7e2b-4111-50f2-1640-093a3bce8700
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9786:249D7F:246865:3412EF:6A549488
html-safe-noncec7da320a22fe8ea495ebd2aa8851521dc64d7e3702ae8a555b0f96e5f73ab1e6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Nzg2OjI0OUQ3RjoyNDY4NjU6MzQxMkVGOjZBNTQ5NDg4IiwidmlzaXRvcl9pZCI6IjU1NTk2NTQxNzY1MzQwNzQ1MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0575546cefe09a9c7c3ae1b564bd655b59b6da85ba809ead9365d888652eee24
hovercard-subject-tagissue:4865291246
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/derek73/python-nameparser/284/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9dbda5abd88281bd908a761ccddf38c2cc10b9e952e230cd0790fb21c78dc524/derek73/python-nameparser/issues/284
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9dbda5abd88281bd908a761ccddf38c2cc10b9e952e230cd0790fb21c78dc524/derek73/python-nameparser/issues/284
og:image:altnameparser 2.0 is in design. This issue is the front door: the short version, links to the full design, and the specific feedback that would help most. There is no deadline — comment whenever; impl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamederek73
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
go-importgithub.com/derek73/python-nameparser git https://github.com/derek73/python-nameparser.git
octolytics-dimension-user_id18306
octolytics-dimension-user_loginderek73
octolytics-dimension-repository_id18353524
octolytics-dimension-repository_nwoderek73/python-nameparser
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id18353524
octolytics-dimension-repository_network_root_nwoderek73/python-nameparser
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef8cfff6384f62259baea531c7f58bc7040f8dd92
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/derek73/python-nameparser/issues/284#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fderek73%2Fpython-nameparser%2Fissues%2F284
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fderek73%2Fpython-nameparser%2Fissues%2F284
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=derek73%2Fpython-nameparser
Reloadhttps://github.com/derek73/python-nameparser/issues/284
Reloadhttps://github.com/derek73/python-nameparser/issues/284
Reloadhttps://github.com/derek73/python-nameparser/issues/284
derek73 https://github.com/derek73
python-nameparserhttps://github.com/derek73/python-nameparser
Notifications https://github.com/login?return_to=%2Fderek73%2Fpython-nameparser
Fork 111 https://github.com/login?return_to=%2Fderek73%2Fpython-nameparser
Star 710 https://github.com/login?return_to=%2Fderek73%2Fpython-nameparser
Code https://github.com/derek73/python-nameparser
Issues 22 https://github.com/derek73/python-nameparser/issues
Pull requests 2 https://github.com/derek73/python-nameparser/pulls
Actions https://github.com/derek73/python-nameparser/actions
Projects https://github.com/derek73/python-nameparser/projects
Wiki https://github.com/derek73/python-nameparser/wiki
Security and quality 0 https://github.com/derek73/python-nameparser/security
Insights https://github.com/derek73/python-nameparser/pulse
Code https://github.com/derek73/python-nameparser
Issues https://github.com/derek73/python-nameparser/issues
Pull requests https://github.com/derek73/python-nameparser/pulls
Actions https://github.com/derek73/python-nameparser/actions
Projects https://github.com/derek73/python-nameparser/projects
Wiki https://github.com/derek73/python-nameparser/wiki
Security and quality https://github.com/derek73/python-nameparser/security
Insights https://github.com/derek73/python-nameparser/pulse
nameparser 2.0: a new core API, with full compatibility through 2.x — direction and feedbackhttps://github.com/derek73/python-nameparser/issues/284#top
https://github.com/derek73
enhancementhttps://github.com/derek73/python-nameparser/issues?q=state%3Aopen%20label%3A%22enhancement%22
v2.0https://github.com/derek73/python-nameparser/milestone/35
https://github.com/derek73
derek73https://github.com/derek73
on Jul 12, 2026https://github.com/derek73/python-nameparser/issues/284#issue-4865291246
RFC: nameparser 2.0 — a new core API #285https://github.com/derek73/python-nameparser/pull/285
Milestone v2.0https://github.com/derek73/python-nameparser/milestone/35
HumanName subclasses overriding parsing hooks silently lose their overrides under the 2.0 facade; detect and warn at construction #280https://github.com/derek73/python-nameparser/issues/280
derek73https://github.com/derek73
enhancementhttps://github.com/derek73/python-nameparser/issues?q=state%3Aopen%20label%3A%22enhancement%22
v2.0No due datehttps://github.com/derek73/python-nameparser/milestone/35
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.