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

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

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

Release Notes

  • added and tested a new PyScript Bridge helper companion, to import from JS Python modules
  • fixed a bug in <label> https://github.com/pyscript/pyscript/pull/2352
  • updated polyscript dependency to its latest which brings in:
    • a new packages_cache = "passthrough" option, beside "never", to avoid lazy micropip initialization and parallelize Pyodide bootstrap when network connection is good and offline ability is not a concern. This should help speeding up bootstrap https://github.com/pyscript/polyscript/pull/138
    • added a debug = True option in config to help debugging Pyodide https://github.com/pyscript/polyscript/pull/135 - please note this degrades Pyodide performance
    • updated coincident orchestration to bring back the service-worker attribute without needing @pyscript/service-worker at all and tested in multiple devices, including iOS and iPad OS
    • updated also coincident ffi logic via a dedicated project able to improve performance a lot, specially with all the JS primitives where performance matters, including TypedArray of all kinds and ArrayBuffer
    • coincident ffi also has a smart cache feature that is able to make Pyodide bootstrap and performance nearly 1:1 with the main thread. Roundtrips can be cut off entirely for most JS primitives while DOM nodes or arrays from the main thread are not cached to preserve their constantly mutable state and preserve correctness.
    • coincident ffi also exposes some extra feature that is reflected through pyscript.ffi, specially direct(ref) to pass directly values instead of holding these on the main thread and assign to update many fields at once from a worker. Both utilities work seamlessly on either main or worker but on worker these will have a boost.
Source: README.md, updated 2025-07-01