weasyprint

Render HTML to PDF or PNG. More information: <https://weasyprint.org/>.

Fedora
RUN dnf install -y weasyprint
click the source code to copy install weasyprint on any operating system with command-not-found.com