Download Latest Version 2025.8.1 source code.tar.gz (2.2 MB)
Email in envelope

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

Home / 2025.8.1
Name Modified Size InfoDownloads / Week
Parent folder
2025.8.1 source code.tar.gz 2025-08-07 2.2 MB
2025.8.1 source code.zip 2025-08-07 2.3 MB
README.md 2025-08-07 2.1 kB
Totals: 3 Items   4.6 MB 0

IMPORTANT - this release of PyScript uses a new version of Pyodide that has different behaviour relating to the handling of null / None. THIS MAY BREAK YOUR CODE. Read the notes (especially regarding the pyscript.ffi.is_none feature), to understand how PyScript supports you in this transition.

The most relevant Pyodide changes (more Pyodide context here):

  • There is a new pyodide.ffi.jsnull reference which is the default type for JavaScrpt null: goodbye null to None implicit conversion, we are providing a pyscript.ffi.is_none(reference) to ease-out this distinction that works regardless of the runtime.
  • If jsobj is a JavaScript proxy for a Python dict then jsobj[name] and jsobj.name now works seamlessly, allowing a JS object representing a Python dict to be used in way more scenarios than before. For more information, see the Pyodide docs.
Source: README.md, updated 2025-08-07