pyscript

Try PyScript: https://pyscript.com Examples: https://tinyurl.com/pyscript-examples Community: https://discord.gg/HxvBtukrg2

APACHE-2.0 License

Downloads
40.6K
Stars
17.4K

Bot releases are hidden (Show)

pyscript - 2024.8.1 Latest Release

Published by ntoll 3 months ago

Release Notes

  • Further refinement of the pyscript.web API (#2129, #2116 and #2126).
  • Update to the latest version of Pyodide.
  • Latest PolyScript / Coincident changes:
  • Various bug fixes (especially #2130 for Bokeh and Panel).
pyscript - 2024.7.1

Published by ntoll 4 months ago

Release Notes

  • Removal of the old pyweb API and inclusion of the new replacement pyscript.web API (#2094).
  • Allow inline JSON configuration for PyEditor (#2110).
  • Bug fix for terminal when MicroPython is not using the REPL (#2113).
  • Named workers (#2104).
pyscript - 2024.6.2

Published by ntoll 4 months ago

Release Notes

  • Updated to newest version of Pyodide (0.26.1)
  • Updated to newest version of MicroPython (1.24.0-preview-47)
  • Added pyscript.storage API for easy access to IndexDB from Python (#2101).
  • Ongoing improvements and enhancements to the PyEditor (#2095).
pyscript - 2024.6.1

Published by ntoll 5 months ago

Release notes

  • updated Pyodide to 0.26.0 - notable change: to_js now creates out of the box object literals like references, no more dict_converter
  • updated MicroPython to 1.23.0 - notable change: the GC from JS world now is used to automatically free memory
  • both MicroPython and Pyodide now support .whl packages and files
  • PyWorker doesn't need a mandatory config anymore
  • the PyEditor Run button now shows a spinner when its code is running
  • the PyEditor script tag now exposes a code accessor to read or write (as in: update) code in the editor itself
  • the pyscript namespace now exposes py_import and js_import to dynamically load, at runtime, packages and modules not listed in the config
  • the PyTerminal on MicroPython now is fully working on both main and worker, with tab completion, history, Ctrl+X strokes and whatnot
  • PyDom and PyWeb now work with MicroPython
  • all documentation has been updated to improve and reflect these changes
pyscript - 2024.5.2

Published by ntoll 5 months ago

Release notes / changes:

  • A small bug fix to ensure the py-editor works when there's no explicit configuration (#2058).
  • Minor documentation fixes (see updates here: https://github.com/pyscript/docs).
pyscript - 2024.5.1

Published by ntoll 6 months ago

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
pyscript - 2024.4.2

Published by ntoll 6 months ago

PyScript Release

Experimental

pyscript - 2024.4.1

Published by ntoll 6 months ago

Release notes / changes:

pyscript - 2024.3.2

Published by ntoll 7 months ago

PyScript Release Notes

Polyscript

PyScript

  • improved the previously shipped pyscript.fetch utility to satisfy all requirements around it: https://github.com/pyscript/pyscript/pull/2001
  • improved documentation around JS libraries imported directly in PyScript (both Pyodide and MicroPython)
  • added a pyscript.ffi module that exports both create_proxy and to_js, normalized for both Pyodide and MicroPython and converting by default everything as object literal instead of Map: https://github.com/pyscript/pyscript/pull/2005
pyscript - 2024.3.1

Published by ntoll 7 months ago

pyscript - 2024.2.1

Published by ntoll 8 months ago

Release notes:

pyscript - 2024.1.3

Published by ntoll 9 months ago

Release notes:

  • Update to latest polyscript/coincident versions.
  • MicroPython support for PyDOM.

Full Changelog: https://github.com/pyscript/pyscript/compare/2024.1.2...2024.1.3

pyscript - 2024.1.2

Published by ntoll 9 months ago

Changelog

Full Changelog: https://github.com/pyscript/pyscript/compare/2024.1.1...2024.1.2

pyscript - 2024.1.1

Published by ntoll 10 months ago

PyScript 2024.1.1 is now in the wild! See the blog post for this release for more details.

Headline new features include:

  • 3rd-party package support for Micropython using mip
  • js_modules are now treated like modules
  • The xterm.js instance used by <script type="py" terminal> is now exposed as the terminal property

Full Changelog: https://github.com/pyscript/pyscript/compare/2023.12.1...2024.1.1

pyscript - 2023.12.1

Published by ntoll 11 months ago

pyscript - 2023.11.2

Published by ntoll 11 months ago

pyscript - 2023.11.1

Published by ntoll 12 months ago

A whole new world. Thank you to everyone who has contributed to this from-the-ground-up re-build of PyScript.

New Contributors

Full Changelog: https://github.com/pyscript/pyscript/compare/2023.03.1...2023.11.1

pyscript - 2023.05.1

Published by tedpatrick over 1 year ago

New Contributors

Full Changelog: https://github.com/pyscript/pyscript/compare/2023.03.1...2023.05.1

pyscript - 2023.03.1

Published by tedpatrick over 1 year ago

New Contributors

Full Changelog: https://github.com/pyscript/pyscript/compare/2022.12.1...2023.03.1

pyscript - 2022.12.1

Published by tedpatrick almost 2 years ago

Version 2022.12.1

This release adds

  • <py-repl> editor upgrade
  • <py-env> removed
  • upgrade pre-commit deps
  • directory listing in releases
  • hide py-{element} in css til defined
  • cache, fetch, retry logic to tests
  • py-config TOML errors
  • update codemirror to version 6
  • display()
  • core - remove all stores
  • Retain path structure for loading paths
  • fetching paths, dirs, and packages
  • autogenerate=true
  • avoid duplicate ids
  • core - plugins added support
  • deprecate <py-title> <py-inputbox> <py-button> <py-box>

New Contributors

Full Changelog: https://github.com/pyscript/pyscript/compare/2022.09.1...2022.12.1

Package Rankings
Top 12.71% on Pypi.org
Top 13.14% on Npmjs.org