./print/py-xhtml2pdf, PDF generator using HTML and CSS

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.2.8, Package name: py310-xhtml2pdf-0.2.8, Maintainer: pkgsrc-users

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.


Required to run:
[print/py-reportlab] [devel/py-setuptools] [textproc/py-html5lib] [print/py-PDF2] [graphics/py-Pillow] [lang/py-six] [converters/py-arabic-reshaper] [converters/py-bidi] [lang/python310]

Master sites:

Filesize: 104.857 KB

Version history: (Expand)


CVS history: (Expand)


   2022-11-14 20:32:41 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-xhtml2pdf: update to 0.2.8.

Release 0.2.8 Fixed background-image and font-face definitions

🐛 Bug-Fixes

    Fix background-image issues with #614 and pull requests with #619
    Fix CSSParseError for minified @font-face definitions #609
    Fixed a few typos and grammar mistakes in usage.rst documentation. #610

Release 0.2.7 Graphics, signing, watermarks

🎉 New

    Add encryption and password protection
    New WaterMark management system with new options
    Add Graphic builder
    Add signing pdfs (simple and pades)

🐛 Bug-Fixes

    Remove import cycle between utils and default
    Fixed link_callback construction of path
    Fixed path when is relative to current path

⚠️ Deprecation

    xhtml in pisa.CreatePDF support will removed on next release
    XML2PDF and XHTML2PDF will be removed on next release use HTML2PDF instead

📘 Documentation

    Add render pdf on documentation and add some html example.
    Include graphics examples

Release 0.2.6. Drop python 2 support

    Drop python 2 support.
    Remove most of python 2 code and cleanup
    Update packages dependencies
    Remove six dependency and update Readme
    Set timeout in https options
    Add new file manager approach using factory method, now new classes deal \ 
with different types of data
    B64InlineURI, LocalProtocolURI, NetworkFileUri, LocalFileURI, BytesFileUri
    Now getColor return None when None is passed ignoring default value, but \ 
return default if bool(data) == false
    rtl languages reversed lines added as a ParaFrag (note: not fully supported yet)
    Check if Paragraph has 'rtl' attribute (note: not fully supported yet)
    Fix UnboundLocalError in reportlab_paragraph (#585) (#586)
    Remove usage of getStringIO (#590) removed form reportlab
    Change test for github workflow using only Linux
    Add Python 3.9, 3.10
    Switch from PyPDF2 to PyPDF3
    Add SVG support
    Update package information.
    Allow call tests using make.
   2022-06-22 03:26:36 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
Unrestrict Python version as reportlab is no longer restricted
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:15:15 by Nia Alarie | Files touched by this commit (1670)
Log message:
print: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:52:04 by Nia Alarie | Files touched by this commit (1670)
Log message:
print: Remove SHA1 hashes for distfiles
   2021-04-28 11:56:15 by Adam Ciarcinski | Files touched by this commit (5)
Log message:
py-xhtml2pdf: added version 0.2.5

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.