Skip to main content

Web and document parser, converter and scraper for Plucker, the Palm OS app

Project description

PyPlucker

Palm OS PyPI

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:

  1. Download the http://www.floodgap.com/retrotech/plua/ page and not follow any links in it, due to -M 1 (i.e. --maxdepth=1)
  2. Convert all the graphics to 16 shades of gray due to bpp=4 and resize to 150 pixels of maximum width (maxwidth=150)
  3. 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

Project details


Release history Release notifications | RSS feed

This version

3.7

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyPlucker-3.7.tar.gz (138.8 kB view details)

Uploaded Source

File details

Details for the file PyPlucker-3.7.tar.gz.

File metadata

  • Download URL: PyPlucker-3.7.tar.gz
  • Upload date:
  • Size: 138.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for PyPlucker-3.7.tar.gz
Algorithm Hash digest
SHA256 da25386fc0cd22f7d7b077058b2c619350dc4dcf9b02c44751d353ceab701fc5
MD5 ead97f12ecc61a48e78b43c074ffd767
BLAKE2b-256 72b44462a31bc652c01bec00d87b3a377ca203152d52bd4927e2c29bc6faa292

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page