PyTextile is a simple text to HTML converter.
>>> import textile
>>> textile.version
’2.1.4’
>>> s = “”“
... This is a test.
...
... * One
… * Two
… * Three
…
... Link to Slashdot
… “”“
>>> html = textile.textile(s)
>>> print html
This is a test.
- One
- Two
- Three
Link to Slashdot
>>>