code: def badge_width(self):
          
          return self.get_text_width('   ' + ' ' * int(float(self.num_padding_chars) * 2.0)) \
              + self.label_width + self.value_width
docs: The total width of badge.
  
          >>> badge = Badge('pylint', '5', font_name='DejaVu Sans,Verdana,Geneva,sans-serif',
          ...               font_size=11)
          >>> badge.badge_width
          91