PyDocs

Structured Markup Processing Tools

html.entities

HTML character entity references.
Symbols in html.entities

c

codepoint2name
A dictionary that maps Unicode code points to HTML4 entity names.

e

entitydefs
A dictionary mapping XHTML 1.0 entity definitions to their replacement text in ISO Latin-1.

h

html5
A dictionary that maps HTML5 named character references [1] to the equivalent Unicode character(s), e.g.

n

name2codepoint
A dictionary that maps HTML4 entity names to the Unicode code points.