Last updated:
0 purchases
PyPlucker 3.7
PyPlucker
It's 2022 and you need a Palm again!
This is an updated version of the original Python based Plucker parser. It downloads and converts your favorite web pages and local files for the Plucker app.
Some of the updates are:
The code has been ported to Python 3
The default image parser is now based on Pillow which doesn't require any platform native dependencies and adds WebP support as a bonus.
Some legacy bits have been removed: OS/2 support, non-working image parser versions
Installation
pip install PyPlucker
Optionally, install the example ~/.pluckerrc config and a ~/.plucker/home.html index file.
Usage
For example, running the below:
plucker-build -H http://www.floodgap.com/retrotech/plua/ -M 1 -f Plua_Revisited --bpp=4 --maxwidth=150
Will:
Download the http://www.floodgap.com/retrotech/plua/ page and not follow any links in it, due to -M 1 (i.e. --maxdepth=1)
Convert all the graphics to 16 shades of gray due to bpp=4 and resize to 150 pixels of maximum width (maxwidth=150)
Produce a file called Plua_Revisited.pdb in the ~/.plucker directory
See ~/.pluckerrc for more options and parameters.
Notes
Complex pages
For best results, it's a good idea to run more complex pages through a modern Readability filter like percollate first. See a working example script.
Compatibility
PyPlucker produced documents are known to be compatible with the Palm OS Plucker application versions 1.2 and above.
For Palm OS 3.0 and above you can use the --compression=zlib option to make the output files much smaller. Make sure that you install SysZLib.prc first.
References
Original Python 2 version
Full original source code for all Plucker components
Plucker's cool old website on web.archive.org
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.