{"name":"python-nameparser: A Robust Python Module for Parsing Human Names","description":"python-nameparser is a powerful Python module designed to accurately parse human names into distinct components like title, given, middle, family, and suffix. It offers immutable results, flexible configuration, and supports locale-specific parsing, making it an essential tool for text processing and data normalization tasks. The module recently released version 2.0, enhancing its capabilities while maintaining backward compatibility for most existing code.","github":"https://github.com/derek73/python-nameparser","url":"https://osrepos.com/repo/derek73-python-nameparser","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/derek73-python-nameparser","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/derek73-python-nameparser.md","json":"https://osrepos.com/repo/derek73-python-nameparser.json","topics":["python","python-module","text-parser","text-processing","name-parsing","utility","development"],"keywords":["python","python-module","text-parser","text-processing","name-parsing","utility","development"],"stars":null,"summary":"python-nameparser is a powerful Python module designed to accurately parse human names into distinct components like title, given, middle, family, and suffix. It offers immutable results, flexible configuration, and supports locale-specific parsing, making it an essential tool for text processing and data normalization tasks. The module recently released version 2.0, enhancing its capabilities while maintaining backward compatibility for most existing code.","content":"## Introduction\n\nThe `python-nameparser` project, developed by derek73, is a highly effective Python module for dissecting human names into their constituent parts. It can parse names into seven distinct fields, including title, given, middle, family, suffix, nickname, and maiden name. With its recent 2.0 release, `python-nameparser` continues to provide robust and flexible name parsing capabilities, ensuring accurate and consistent results for various applications.\n\n## Installation\n\nGetting started with `python-nameparser` is straightforward. You can install it using pip:\n\n\npip install nameparser\n\n\nIt requires Python 3.11+.\n\n## Examples\n\nThe module is easy to use, as demonstrated by this quick example:\n\npython\nfrom nameparser import parse\nname = parse(\"Dr. Juan Q. Xavier de la Vega III\")\nprint(name.given, name.family)\n# Expected output: ('Juan', 'de la Vega')\nprint(name.render(\"{family}, {given}\"))\n# Expected output: 'de la Vega, Juan'\n\n\nThe seven fields available are `title`, `given`, `middle`, `family`, `suffix`, `nickname`, and `maiden`. Additionally, it provides aggregate views like `given_names`, `surnames`, `family_base`, and `family_particles` for more granular control.\n\n## Why Use It\n\n`python-nameparser` stands out for its comprehensive approach to name parsing. It offers immutable results, ensuring data integrity, and its configuration is highly composable, allowing developers to tailor its behavior to specific needs. The availability of opt-in locale packs further enhances its utility for handling diverse naming conventions globally. Whether you need to normalize names for databases, process user input, or analyze textual data, `python-nameparser` provides a reliable and flexible solution.\n\n## Links\n\nFor more detailed information and advanced usage, refer to the official documentation:\n\n*   [Using the parser](https://nameparser.readthedocs.io/en/latest/usage.html)\n*   [Customizing the parser](https://nameparser.readthedocs.io/en/latest/customize.html)\n*   [Locale packs](https://nameparser.readthedocs.io/en/latest/locales.html)\n*   [GitHub Repository](https://github.com/derek73/python-nameparser)","metrics":{"detailViews":0,"githubClicks":0},"dates":{"published":null,"modified":"2026-07-30T11:01:53.000Z"}}