Skip to content

Releases: Block120/PyMarklet

Release list

PyMarklet 0.1.0

Choose a tag to compare

@Block120 Block120 released this 12 Oct 21:35

First public release.

python -m pip install pymarklet

Generate a browser bookmarklet that runs a Python script with Pyodide:

pymarklet hello.py -o hello-bookmarklet.txt
  • Embeds Python source in a javascript: bookmarklet URL
  • Draggable in-page output panel, plus a canvas for Pygame-style libraries
  • Automatic dependency resolution via Pyodide imports and micropip
  • Optional first-line # PKGS: manifest for distribution/import name mismatches

Experimental — see the README's Security and privacy section. Source is embedded in the URL, so never include secrets.