print/py-xhtml2pdf - The NetBSD Packages Collection

PDF generator using HTML and CSS

xhtml2pdf is a HTML to PDF converter using Python, the ReportLab Toolkit,
html5lib and PyPDF2. It supports HTML5 and CSS 2.1 (and some of CSS 3). It is
completely written in pure Python, so it is platform independent.

The main benefit of this tool is that a user with web skills like HTML and CSS
is able to generate PDF templates very quickly without learning new
technologies.

Build dependencies

devel/py-setuptools pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

print/py-PDF2 graphics/py-Pillow converters/py-arabic-reshaper converters/py-bidi textproc/py-html5lib print/py-reportlab lang/py-six devel/py-setuptools lang/python312 lang/python312

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0aarch64py39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0alphapy310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0alphapy311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0alphapy312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0alphapy38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0alphapy39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0alphapy310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0alphapy311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0alphapy312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0alphapy38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0alphapy39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0earmv6hfpy310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0earmv6hfpy311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0earmv6hfpy312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0earmv7hfpy310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0earmv7hfpy311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0earmv7hfpy312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0earmv7hfpy38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0earmv7hfpy39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0earmv7hfpy310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0earmv7hfpy311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0earmv7hfpy312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0earmv7hfpy38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0earmv7hfpy39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0i386py312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0powerpcpy39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0sparc64py310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0sparc64py311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0sparc64py312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0sparc64py38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0sparc64py39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0sparc64py310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0sparc64py311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0sparc64py312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0sparc64py38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py312-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py38-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py39-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py310-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py311-xhtml2pdf-0.2.8.tgz
NetBSD 10.0x86_64py312-xhtml2pdf-0.2.8.tgz
NetBSD 9.0aarch64py310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0aarch64py311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0aarch64py312-xhtml2pdf-0.2.8.tgz
NetBSD 9.0aarch64py38-xhtml2pdf-0.2.8.tgz
NetBSD 9.0aarch64py39-xhtml2pdf-0.2.8.tgz
NetBSD 9.0earmv7hfpy310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0earmv7hfpy311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0earmv7hfpy38-xhtml2pdf-0.2.8.tgz
NetBSD 9.0earmv7hfpy39-xhtml2pdf-0.2.8.tgz
NetBSD 9.0earmv7hfpy310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0earmv7hfpy311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0earmv7hfpy38-xhtml2pdf-0.2.8.tgz
NetBSD 9.0earmv7hfpy39-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py312-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py38-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py39-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py38-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py39-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py312-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py38-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py39-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0i386py312-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy312-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy38-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy39-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy38-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy39-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy312-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy38-xhtml2pdf-0.2.8.tgz
NetBSD 9.0powerpcpy39-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py312-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py38-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py39-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py312-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py38-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py39-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py312-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py38-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py39-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py310-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py311-xhtml2pdf-0.2.8.tgz
NetBSD 9.0x86_64py312-xhtml2pdf-0.2.8.tgz
NetBSD 9.3x86_64py310-xhtml2pdf-0.2.8.tgz
NetBSD 9.3x86_64py311-xhtml2pdf-0.2.8.tgz
NetBSD 9.3x86_64py312-xhtml2pdf-0.2.8.tgz
NetBSD 9.3x86_64py310-xhtml2pdf-0.2.8.tgz
NetBSD 9.3x86_64py311-xhtml2pdf-0.2.8.tgz
NetBSD 9.3x86_64py312-xhtml2pdf-0.2.8.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.