github pyscript/pyscript 2022.05.1

latest releases: 2026.7.2, 2026.7.1, 2026.6.2...
pre-release4 years ago

Version 2022.05.1

Very first release of PyScript that was demoed at PyCon US 2022. Main focus on minimal working set of features to enable execution of Python on the browser using PyScript custom web components ( and ) through Pyodide.

Major Features

  • Support <py-script> tag
  • Support <py-repl> tag
  • Support <py-button> tag
  • Support <py-title> tag
  • Support <py-inputbox> tag
  • Support <py-env> tag
  • Support <py-config> tag
  • Support <py-pybox> (#16)

Other Features

  • Load code from source code from file (#10)
  • support for local imports (#13)
  • allow out err redirect (#28)
  • MIME renderer support (#34)

Bugfixes and Improvements

  • Force the use of port 8080. (#2)
  • Ensure env is created before executing scripts (#5)
  • Don't fail on an empty <py-env></py-env> (#18)
  • Rudimentary support for ESM and import maps (#24)
  • Allow to indent <py-script> blocks (#20)
  • Allow import d3 instead of from esm import d3 (#25)
  • Support pip in pyenv (#30)
  • fixed pyscript output (#41)
  • Loading module from file should not auto-import (#48)
  • Added GH Action to test build (#47)
  • Create LICENSE (#56)
  • Governance docs v1 (#60)
  • Improve CSS for Repl (#45)
  • Add getting started docs (#63)
  • Create a code of conduct file (#97)
  • Fix dedenting of code (#130)
  • Handle repr of types (#121)
  • Add initial dev setup automation (#231)
  • Add config file for pre-commit (#235)
  • pre-commit: Add codespell and other checks #263)
  • pre-commit: Try to autofix yaml BEFORE checking it (#269)
  • add app loading splash screen and AppConfig (#279)
  • support different pyodide versions (#328)

Examples Changes

  • Interactive Bokeh and Panel examples (#6)
  • Add Panel KMeans clustering example (#8)
  • Update examples (#9)
  • fix examples landing page and some import issues (#12)
  • Add a d3 example (#19)
  • Add Panel streaming example (#22)
  • Add Panel Streaming demo to index (#23)
  • Add a visualization with NumPy and canvas (#26)
  • Add Panel DeckGL example (#27)
  • Add a Toga web demo (#29)
  • Add a Toga SPA rendering demo (#31)
  • Add pylist Example (#36)
  • Webgl icosahedron demo (#35)
  • Example of message passing + interactive REPL (#74)
  • Micrograd example (#116)
  • ADD: Simple Bioinformatics Tool (#131)

Various small improvements

#3, #4, #7, #11, #14, #15, #17, #32, #33, #37, #42, #43, #44, #50, #49, #52, #54, #53, #58, #59, #61, #62, #64, #66, #71, #73, #101, #83, #96, #102, #127, #126, #118, #119, #72, #88, #144, #133, #150, #132, #160, #148, #169, #186, #190, #192, #194, #199, #203, #222, #216, #215, #234, #224, #244, #207, #236, #241, #211, #252, #242, #245, #227, #249, #274, #271, #219, #301, #283, #268, #266, #282, #275, #259, #294, #310, #307, #312, #300, #320, #325, #327, #341, #353, #365, #366, #368, #393, #395, #394

New Contributors

Full Changelog: https://github.com/pyscript/pyscript/commits/2022.05.1

Don't miss a new pyscript release

NewReleases is sending notifications on new releases.