pyflowchart
diagrams needs graphviz installed (on debian it is apt install graphviz). doc
apt install graphviz
pydiagrams
most famous code to cli args ffmpeg python wrapper:
https://github.com/kkroening/ffmpeg-python