namepartsTakes a full human name and splits it into individual parts | |
Download |
nameparts Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- James Polera
- Publisher web site:
- https://github.com/polera/
nameparts Tags
nameparts Description
nameparts is a Python module created to address a problem splitting full names into individual parts (first, middle, last, etc.).You can use it like this: >>> from nameparts import Name >>> n = Name("Thurston Howel III") >>> n.first_name 'Thurston' >>> n.last_name 'Howel' >>> n.as_dict {'first_name': 'Thurston', 'last_name': 'Howel', 'middle_name': None, 'suffix': None, 'generation': 'III', 'salutation': None} >>> n = Name("Smith, John Paul") >>> n.first_name 'John' >>> n.last_name 'Smith' >>> n.middle_name 'Paul'Product's homepage
nameparts Related Software