python-nameparser: A Robust Python Module for Parsing Human Names

This repository profile is provided by osrepos.com, an open source repository discovery platform.

python-nameparser: A Robust Python Module for Parsing Human Names

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.

Repository Information

Analyzed by OSRepos on July 30, 2026

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

The 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.

Installation

Getting started with python-nameparser is straightforward. You can install it using pip:

pip install nameparser

It requires Python 3.11+.

Examples

The module is easy to use, as demonstrated by this quick example:

from nameparser import parse
name = parse("Dr. Juan Q. Xavier de la Vega III")
print(name.given, name.family)
# Expected output: ('Juan', 'de la Vega')
print(name.render("{family}, {given}"))
# Expected output: 'de la Vega, Juan'

The 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.

Why Use It

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.

Links

For more detailed information and advanced usage, refer to the official documentation:

Related repositories

Similar repositories that may be relevant next.

Google Skills: Agent Skills for Google Products and Technologies

Google Skills: Agent Skills for Google Products and Technologies

August 18, 2026

The `google/skills` repository offers a comprehensive collection of Agent Skills designed for Google products and technologies, including Google Cloud. It enables developers to easily integrate and leverage pre-built functionalities for various tasks, from infrastructure management to advanced AI/ML solutions. This resource streamlines the development of agentic applications within the Google ecosystem, providing a robust foundation for innovation.

googlegooglecloudskills
OpenSandbox: A Secure and Extensible Sandbox Runtime for AI Agents

OpenSandbox: A Secure and Extensible Sandbox Runtime for AI Agents

August 12, 2026

OpenSandbox is a powerful, general-purpose sandbox platform designed for AI applications. It provides secure, fast, and extensible runtime environments, supporting multi-language SDKs and Docker/Kubernetes deployments. This project is ideal for developing and evaluating AI agents in isolated, controlled settings.

aiai-agentai-infra
FastMCP: The Pythonic Framework for Model Context Protocol Applications

FastMCP: The Pythonic Framework for Model Context Protocol Applications

August 11, 2026

FastMCP is a robust, Pythonic framework developed by PrefectHQ, designed to simplify the creation of Model Context Protocol (MCP) servers and clients. It provides a comprehensive application framework for connecting Large Language Models (LLMs) to tools and data, handling complexities like schema generation, validation, and protocol lifecycle. As the standard framework for MCP, FastMCP empowers developers to build powerful LLM-integrated applications efficiently.

fastmcpmcpmodel-context-protocol
nanobot: An Ultra-Lightweight, Self-Hosted Personal AI Agent Framework

nanobot: An Ultra-Lightweight, Self-Hosted Personal AI Agent Framework

August 9, 2026

nanobot is an ultra-lightweight, open-source, self-hosted personal AI agent framework built in Python. It offers a WebUI, tools, memory, multi-agent workflows, and automation capabilities, making it a versatile solution for personal AI tasks. Users can deploy it across various platforms, including chat apps, for seamless integration.

ai-agentagent-frameworkpython

Source repository

Open the original repository on GitHub.

10 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️