Skip to content

Releases: savannahostrowski/pyrepl-web

0.2.0

27 Jan 05:54

Choose a tag to compare

New in this release!

Web Component API

You can now use a <py-repl> custom element for cleaner HTML integration with theme, packages, repl-title, src, no-header, no-buttons, readonly attributes.

<div class="pyrepl"> is still supported for backwards compatibility.

Simplified Theming

You can now create custom themes with just background and foreground colors. Terminal ANSI colors and syntax highlighting auto-derived from background luminance. Theming also now supports pygmentsStyle for full control over syntax highlighting

Theme names matching Pygments styles (e.g., monokai, dracula) use that style automatically. Custom themes fall back to catppuccin-mocha (dark) or catppuccin-latte (light) based on background

0.1.13

27 Jan 00:37

Choose a tag to compare

Start downloading Pyodide in the background on page load

0.1.12

27 Jan 00:23

Choose a tag to compare

Various performance improvements via code splitting and lazy loading pygments for syntax highlighting. Bundle is now ~99% smaller.

0.1.10

24 Jan 00:36

Choose a tag to compare

Full Changelog: 0.1.9...0.1.10

0.1.9

23 Jan 05:38

Choose a tag to compare

What's Changed

  • Support multiple REPLs on one page by @hugovk in #2

Full Changelog: 0.1.8...0.1.9

0.1.8

21 Jan 06:29

Choose a tag to compare

Fix build

0.1.7

21 Jan 06:11

Choose a tag to compare

Adds several attributes:

  • data-readonly mode - disables input
  • data-headers - ability to hide widget header chrome
  • data-src - ability to pass a script on pre-load of the widget (to preload namespace etc.)
  • data-title - ability to customize the title of the widget (uses 'python' by default)

Adds ctrl+c (interrupt) and ctrl+l (clear) keybinding support

Adds custom theming support

0.1.6

21 Jan 04:50

Choose a tag to compare

Bump version

0.1.5

21 Jan 01:18

Choose a tag to compare

Fixes for publishing pipeline

0.1.4

21 Jan 01:13

Choose a tag to compare

  • Python 3.13 running in the browser via WebAssembly
  • Syntax highlighting with Pygments
  • Tab completion
  • Command history (up/down arrows)
  • Smart indentation
  • Preload PyPI packages
  • Multiple themes (Catppuccin Mocha/Latte)