Skip to content

Releases: derek73/python-nameparser

v1.2.1

Choose a tag to compare

@derek73 derek73 released this 19 Jun 23:04

What's Changed

  • Fix initials() interpolating the literal None for empty name parts when empty_attribute_default = None (e.g. "J. None D."); empty parts now render as an empty string and a fully-empty result returns empty_attribute_default
  • Add python -m nameparser "Name String" command-line helper that prints a parsed name
  • Reorganize the test suite from a single tests.py into a tests/ pytest package

Full Changelog: v1.2.0...v1.2.1

v1.2.0

Choose a tag to compare

@derek73 derek73 released this 11 Jun 08:43

What's changed

  • Drop Python 2 and Python < 3.10 support; Python 3.10–3.14 now required
  • Add type hints and type declarations (PEP 561 py.typed marker)
  • Migrate build tooling to pyproject.toml, drop setup.py
  • Remove dead Python 2 compatibility shims (ENCODING constant, next() aliases)
  • Modernize CI: uv-based workflow, trusted publishing to PyPI, Dependabot

v1.1.3

Choose a tag to compare

@derek73 derek73 released this 21 Sep 00:11
  • Fix case when we have two same prefixes in the name (#147)

v1.1.2

Choose a tag to compare

@derek73 derek73 released this 14 Nov 03:04
  • Add support for attributes in constructor (#140)
  • Make HumanName instances hashable (#138)
  • Update repr for names with single quotes (#137)

v1.1.1

Choose a tag to compare

@derek73 derek73 released this 29 Jan 02:28
  • Fix bug in is_suffix() handling of lists (#129)

v1.1.0

Choose a tag to compare

@derek73 derek73 released this 04 Jan 04:30

v1.0.6

Choose a tag to compare

@derek73 derek73 released this 08 Feb 21:44
  • Fix Python 3.8 syntax error warning (#104)

v1.0.5

Choose a tag to compare

@derek73 derek73 released this 12 Dec 05:14
  • Fix suffix parsing bug in comma parts (#98)
  • Fix deprecation warning on Python 3.7 (#94)
  • Improved capitalization support of mixed case names (#90)
  • Remove "elder" from titles (#96)
  • Add post-nominal list from Wikipedia to suffixes (#93)

v1.0.4

Choose a tag to compare

@derek73 derek73 released this 27 Jun 01:42
  • Better nickname handling of multiple single quotes (#86)
  • full_name attribute now returns formatted string output instead of original string (#87)

v1.0.3

Choose a tag to compare

@derek73 derek73 released this 20 Apr 01:14
  • 1.0.3 - April 18, 2018
    • fix sys.stdin usage when stdin doesn't exist (#82)
    • support for escaping log entry arguments (#84)
  • 1.0.2 - Oct 26, 2018
    • Fix handling of only nickname and last name (#78)