Try PyScript: https://pyscript.com Examples: https://tinyurl.com/pyscript-examples Community: https://discord.gg/HxvBtukrg2
APACHE-2.0 License
Bot releases are visible (Hide)
pyscript.web
API (#2129, #2116 and #2126).Published by ntoll 4 months ago
pyscript.web
API (#2094).Published by ntoll 4 months ago
Published by ntoll 5 months ago
to_js
now creates out of the box object literals like references, no more dict_converter
.whl
packages and files
PyWorker
doesn't need a mandatory config
anymore
script
tag now exposes a code
accessor to read or write (as in: update) code in the editor itself
pyscript
namespace now exposes py_import
and js_import
to dynamically load, at runtime, packages and modules not listed in the config
Published by ntoll 5 months ago
Release notes / changes:
py-editor
works when there's no explicit configuration (#2058).Published by ntoll 6 months ago
Release notes / changes:
packages
entry. E.g.:
from pyscript import lazy_py_modules
some, module = await lazy_py_modules("some", "module")
File.new([...])
or deal with any iterable JS referenceawait
the code without the need to await interpreter.runPythonAsync(...)
pyscript
namespace the HTML display helper
Published by ntoll 6 months ago
lazy_py_modules
helper to allow, in the near future, PyScript to also import outside the config one or more packages at runtime: https://github.com/pyscript/polyscript/pull/95 ... feel free to from polyscript import lazy_py_modules
and test it before we land it on PyScript too. See the related documentation to better know how to use it<script type="webr"></script>
in the wild but watch out missing features
Published by ntoll 6 months ago
Release notes / changes:
stdlib
out of the box: https://github.com/pyscript/pyscript/pull/2010
code.interact()
utility: https://github.com/pyscript/pyscript/pull/2017
terminal.process(code)
to pass along Python code to evaluate: https://github.com/pyscript/pyscript/pull/2026
Published by ntoll 7 months ago
.zip
and .tar.gz
files if the extension matches and the target ends with a /*
, as in /*
for root or ./dest/path/*
for relative paths: https://github.com/pyscript/polyscript/pull/84
await
is mandatory, but no special headers are needed to consume asynchronous workers utilities): https://github.com/pyscript/polyscript/pull/80
pyscript.fetch
utility to satisfy all requirements around it: https://github.com/pyscript/pyscript/pull/2001
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
Published by ntoll 7 months ago
setup
attribute to the py-editor
/ mpy-editor
feature, in order to bootstrap with hidden boilerplate code.pyscript.fetch
method for making HTTP requests in both Pyodide and MicroPython.Published by ntoll 8 months ago
Release notes:
Published by ntoll 9 months ago
Release notes:
Full Changelog: https://github.com/pyscript/pyscript/compare/2024.1.2...2024.1.3
Published by ntoll 9 months ago
Changelog
Full Changelog: https://github.com/pyscript/pyscript/compare/2024.1.1...2024.1.2
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:
mip
js_modules
are now treated like modules<script type="py" terminal>
is now exposed as the terminal
propertyFull Changelog: https://github.com/pyscript/pyscript/compare/2023.12.1...2024.1.1
Published by ntoll 11 months ago
Published by ntoll 11 months ago
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.
Full Changelog: https://github.com/pyscript/pyscript/compare/2023.03.1...2023.11.1
Published by tedpatrick over 1 year ago
Full Changelog: https://github.com/pyscript/pyscript/compare/2023.03.1...2023.05.1
Published by tedpatrick over 1 year ago
Full Changelog: https://github.com/pyscript/pyscript/compare/2022.12.1...2023.03.1
Published by tedpatrick almost 2 years ago
This release adds
<py-repl>
editor upgrade<py-env>
removed<py-title>
<py-inputbox>
<py-button>
<py-box>
Full Changelog: https://github.com/pyscript/pyscript/compare/2022.09.1...2022.12.1