pyparagraph (pypi): A library to do Knuth-Plass (aka TeX/LaTeX) text-wrapping, rendering the result as lines of text or in a specified font/size on a PIL image. PIL rendering optionally supports limited rich text (bold and/or italic) via <b> and <i> tags.
Keywords: Knuth|Paragraphs|dynamic programming|python|typesetting