Binary package “python-wcwidth” in ubuntu bionic

determine printable width of a string on a terminal (Python 2)

 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.
 .
 This package provides the module for Python 2.