armijnhemel / compliance-scripts

A collection of scripts for license compliance scanning, mostly experimental
GNU General Public License v3.0
21 stars 12 forks source link

scancode_license_tui: printing as a new feature #11

Open LeChasseur opened 1 month ago

LeChasseur commented 1 month ago

Mr. Wald and I would be enlightened to have a new functionality that allows us to print the output of scancode_license_tui into a .pdf file.

armijnhemel commented 1 month ago

Could you provide a little bit more information what you would like to see? For the pretty printing script (not the TUI) it would not be too hard, but it depends on what you want as output. Currently Rich (the library I use) does not support PDF, but I could use an existing PDF library for Python.

I could for example imagine a PDF with a table per file per page (or multiple).