KNITPY(1)
π KNITPY(1) β General Commands Manual π
okay bestie, pull up a chair, we're learning knitpy and honestly? it's giving academic baddie. π
β¨ NAME β¨
knitpy β a report generation tool with Python ππ
πΈ SYNOPSIS πΈ
knitpy [options] infile.pymd
π¦ DESCRIPTION π¦
so basically this app converts pymd documents (*.pymd) into a whole bunch of other formats. glow-up for your files, no cap. β¨
Codeblocks and inline code get executed via IPython kernels, and then the results get inserted straight back into the document. yes, your code runs and your output lands in the doc like it was always meant to be there. main character behaviour fr fr. π
Documents should follow rmarkdown syntax (<http://rmarkdown.rstudio.com/>), except you swap 'python' in for 'r' when you want python code to actually execute. iykyk. π
The commandline interface should be compatible with knitr β so if you're coming over from the R side of the internet, you're gonna feel at home. π«Ά
knitpy uses pandoc to do any of the file type conversion (md -> html|latex|...). pandoc is the unpaid intern doing all the heavy lifting and honestly? iconic. πβ¨
ONLY SOME FEATURES OFknitrORrmarkdownARE YET SUPPORTED... π like, it's a work in progress bestie, be nice to her, she's trying.
π OPTIONS π
Type knitpy --help to see the available options. for more information on full configurables, use --help-all. that's the whole vibe, she'll tell you herself. π
π EXAMPLES π
The simplest way to use knitpy is:
knitpy mydocument.pymd
which will convert mydocument.pymd to the default format (probably HTML). easy. effortless. slay. π
Output formats supported: 'html', 'pdf' and 'docx'. Change with --to=<format>. π¦
Use --to=all to convert to all export formats specified in the yaml header. go big or go home, bestie. π₯
β SEE ALSO β
You can find more information in /usr/share/doc/python3-knitpy/README.md π
The project's home page is available at <https://github.com/janschulz/knitpy> π π
π AUTHOR π
knitpy was written by Jan Schulz. legend behaviour, honestly. π«Ά
This manual page was written by Miriam Ruiz <miriam@debian.org>, for the Debian project (but may be used by others). π
okay that's the whole page!! this was written for the General Commands Manual and it's sitting at version 0.1.1 πβ¨ go forth and knit your little heart out, bestie, you're gonna eat π
πΈπ¦
π¦ where this page comes from
- debian trixie: python3-knitpy 0.1.1~git20180430-4.2 Β· BSD-3-Clause
- ubuntu jammy: python3-knitpy 0.1.1~git20180430-2 Β· BSD-3-Clause
- ubuntu noble: python3-knitpy 0.1.1~git20180430-4 Β· BSD-3-Clause
- ubuntu questing: python3-knitpy 0.1.1~git20180430-4.2
- ubuntu resolute: python3-knitpy 0.1.1~git20180430-4.3 Β· BSD-3-Clause
- ubuntu stonking: python3-knitpy 0.1.1+git20210425-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms