namedentities

Simple way to convert numeric HTML entities to far more readable named entities
Download

namedentities Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Jonathan Eunice
  • Publisher web site:
  • http://bitbucket.org/jeunice/

namedentities Tags


namedentities Description

namedentities is a simple way to convert numeric HTML entities to far more readable named entities.Installationpip install namedentitiesFailing that, fall back to the older approach:easy_install namedentities(You may need to begin these with "sudo " to authorize installation.)NOTA BENE Code runs successfully under Python 3, but packaging seemingly doesn't work as yet.UsagePython 2:from namedentities import named_entitiesu = u'both em\u2014and–dashes…'print named_entities(u)Python 3:from namedentities import named_entitiesu = 'both em\u2014and–dashes…'print(named_entities(u))Product's homepage


namedentities Related Software