Names
rigour.names
Name handling utilities for person and organisation names.
name_parts(name, person=True, organisation=True)
Split a name into parts, and return a list of NamePart objects.
Source code in rigour/names/part.py
pick_name(names)
Pick the best name from a list of names. This is meant to pick a centroid name, with a bias towards names in a latin script.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
names
|
List[str]
|
A list of names. |
required |
Returns:
Type | Description |
---|---|
Optional[str]
|
Optional[str]: The best name for display. |