pyhtmlizer(1)
π pyhtmlizer(1) π
okay bestie, pull up a chair, because we're about to talk about pyhtmlizer β yes she's a real one, she lives in section 1 of the manual, and she has exactly one job. π
β¨ NAME β¨
pyhtmlizer β pretty-print Python source as HTML π¦
like. she takes your Python and makes it look cute on the internet. that's it. that's the whole thing.
πΈ SYNTAX πΈ
pyhtmlizer [-s|--stylesheet <url>] <filename>
one command, one file, one optional stylesheet, zero drama. π
π DESCRIPTION π
so here's the vibe: this generates a HTML document with Python source marked up with span elements. that's the actual output β spans, bestie. the structure is there, the colors are not. π
and to colorize? you gotta provide a stylesheet. no stylesheet, no glam. it's giving plain-text-in-a-trench-coat. π
fr fr β pyhtmlizer marks it up, but it does not style it. the β¨lewkβ¨ is on you.
π OPTIONS π
--stylesheet,-s<url>β links to the stylesheet at<url>. this is the one that makes it pretty. give her a url, she'll link it in. π--helpβ output help information and exit. the classic "wait what does this do again" button. π«Ά-v,--versionβ output version information and exit. she'll tell you exactly which era of herself you're running. β
lowkey the shortest manpage in the game and honestly? iconic. no filler, no fluff, just vibes and spans. π§
that's the whole page, bestie β go forth and colorize. π
this little cutie comes to you courtesy of the lovely people at Twisted Matrix Laboratories. mwah, sending you the softest sign-off. ππΈβ¨
π¦ where this page comes from
- alpine 3.24: py3-twisted-doc 25.5.0-r1 Β· MIT
- epel 10: python3-twisted 24.11.0-2.el10_1 Β· MIT
- epel 9: python3-twisted 22.10.0-3.el9 Β· MIT
- fedora 43: python3-twisted 25.5.0-4.fc43 Β· MIT
- fedora 44: python3-twisted 25.5.0-6.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms