Skip to content

Releases: derek73/python-nameparser

v0.3.3

Choose a tag to compare

@derek73 derek73 released this 04 Aug 19:32
  • Allow suffixes to be chained (#8)
  • Handle trailing suffix in last name comma format (#3). Removes support for titles with periods but no spaces in them, e.g. "Lt.Gen.". (#21)

v0.3.2

Choose a tag to compare

@derek73 derek73 released this 17 Jul 05:46
  • Retain original string in "original" attribute.
  • Collapse white space when using custom string format.
  • Fix #19, single comma name format may have trailing suffix

v0.3.1

Choose a tag to compare

@derek73 derek73 released this 05 Jul 21:09

Fix PyPi package missing config module.

v0.3.0

Choose a tag to compare

@derek73 derek73 released this 04 Jul 22:17

Initial refactoring of the constants and configurations system to make it easier to modify (#1). You can now adjust the parser's configuration like so:

>>> from nameparser import HumanName
>>> from nameparser.config import CONSTANTS
>>> CONSTANTS.titles.add('dean', 'Chemistry')
>>> hn = HumanName("Assoc Dean of Chemistry Robert Johns")
>>> hn
<HumanName : [
    Title: 'Assoc Dean of Chemistry'
    First: 'Robert'
    Middle: ''
    Last: 'Johns'
    Suffix: ''
    Nickname: ''
]>

New instructions for customizing the parser are included in the new documentation.

Install:

pip install nameparser

v0.3-alpha

v0.3-alpha Pre-release
Pre-release

Choose a tag to compare

@derek73 derek73 released this 17 May 02:45
v0.3-alpha-2