New Features

The releases and release notes are available on GitHub. Use HACS to install different versions of pyscript.

You can also install the master (head of tree) version from GitHub, either using HACS or manually. Because pyscript has quite a few unit tests, generally the master version should work ok. But it’s not guaranteed to work at any random time, and newly-added features might change.

The latest release is 1.2.1, released on February 9, 2021. Here is the stable documentation for that release.

Over time, the master (head of tree) version in GitHub will include new features and bug fixes. Here is the latest documentation if you want to see the development version of the documentation.

If you want to see development progress since 1.2.1, see new features in the latest documentation.

Planned new features post 1.2.1 include:

  • Consider supporting the built-in functions that do I/O, such as open, read and write, which are not currently supported to avoid I/O in the main event loop, and also to avoid security issues if people share pyscripts. The print function only logs a message, rather than implements the real print features, such as specifying an output file handle. Support might be added in the future using an executor job, perhaps enabled when allow_all_imports is set.
  • Consider adding an option argument to @pyscript_compile that wraps the function with task.executor.

The new features since 1.2.1 in master include:

  • None yet.

Breaking changes since 1.2.1 include:

  • None yet.

Bug fixes since 1.2.1 include:

  • None yet.