Download Latest Version offline_2026.3.1.zip (7.2 MB)
Email in envelope

Get an email when there's a new version of PyScript

Home / 2026.1.1
Name Modified Size InfoDownloads / Week
Parent folder
offline_2026.1.1.zip 2026-01-20 7.2 MB
2026.1.1 source code.tar.gz 2026-01-20 2.3 MB
2026.1.1 source code.zip 2026-01-20 2.4 MB
README.md 2026-01-20 1.5 kB
Totals: 4 Items   11.9 MB 0
  • Minor fixes in coincident.
  • Removed WebR (for the time being) and improved packages details in polyscript.
  • Updated polyscript module to include latest coincident and latest Pyodide 0.29.1.
  • INCLUDES BREAKING CHANGES API/docstring refactor [#2414]
    • magic_js renamed to context (but everything should still only be referenced via the core pyscript namespace).
    • A much requested change in pyscript.web: use page["#an-id"] to get a single element by id (rather than page.find("#an-id")[0]).
    • In pyscript.web an Element's styles are a Python dict and classes a Python set (rather than custom objects with a similar API to those Python classes).
    • Explicitly use update_all with ElementCollection instances. You used to be able to do implicit changes via: my_collection.innerHTML = "foo". Feedback was this felt risky (folks thought they were mutating an element, not an element collection and they were getting strange results). Now you just: my_collection.update_all(innerHTML="foo") which also makes it more obvious what's going on.
    • Extensive rewrite of docstrings with examples. These form the basis of our new API docs.
    • Added many more tests for the purpose of coverage and testing edge-cases.
Source: README.md, updated 2026-01-20