Skip to content

Commit d2de138

Browse files
committed
Added new codec: html
1 parent 58d48ee commit d2de138

5 files changed

Lines changed: 328 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ This library extends the native `codecs` library and provides some new encodings
2222
`baudot` | text <-> Baudot code bits | supports CCITT-1, CCITT-2, EU/FR, ITA1, ITA2, MTK-2 (Python3 only), UK, ...
2323
`braille` | text <-> braille symbols | Python 3 only
2424
`dna-N` | text <-> DNA-N sequence | implements the 8 rules of DNA sequences (N belongs to [1,8])
25+
`html` | text <-> HTML entities | implements entities according to [this reference](https://dev.w3.org/html5/html-author/charref)
2526
`leetspeak` | text <-> leetspeak encoded text | based on minimalistic elite speaking rules
2627
`markdown` | markdown --> HTML | unidirectional
2728
`morse` | text <-> morse encoded text | uses whitespace as a separator

codext/others/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from .baudot import *
33
from .dna import *
44
from .dummy import *
5+
from .html import *
56
from .markdown import *
67
from .octal import *
78
from .ordinal import *

0 commit comments

Comments
 (0)