Binary package “python3-wcwidth” in ubuntu mantic

determine printable width of a string on a terminal

 wcwidth allows one to determine the printable width of a string on a terminal.
 It provides functions similar to wcwidth(3) and wcswidth(3) for Python
 programs.