Skip to content

2024.5.1

Compare
Choose a tag to compare
@ntoll ntoll released this 07 May 09:48
· 8 commits to main since this release
8ec3381

Release notes / changes:

  • Added lazy_py_modules to allow users to lazily import packages within their code, rather than needing to pre-fetch all of them via config packages entry. E.g.:
    from pyscript import lazy_py_modules
    some, module = await lazy_py_modules("some", "module")
    
  • Fixed MicroPython untar and unzip paths
  • Updated MicroPython to its latest with the following improvements:
  • Added back to pyscript namespace the HTML display helper
  • Added a pyscript.config Python dictionary to introspect the current config as provided and resolved by the user, defaulting to an empty dictionary when no config has been provided
  • Added pyscript.WebSocket Pythonic and simplified way to deal with WebSockets in Python
  • Fixed py-editor offline use case
  • Also fixed offline interpreter use case for py and mpy use cases, including the terminal one
  • Improved and updated the User Guide documentation