Brython 3.14.1: Python for Web Browsers Released

Brython 3.14.1, the latest version of the Brython project, has been released. Brython is an implementation of the Python 3 programming language for web browsers, allowing developers to use Python instead of JavaScript for scripting on the web. The project code is written in Python and distributed under the BSD license. Developers can now utilize the Python language to define the logic of their websites on the client side by connecting the libraries brython.js and brython_stdlib.js

By using Python code instead of JavaScript, web developers can include Python code on their pages and execute Python code using specific tags. The performance of most operations in Python scripts embedded in web pages is comparable to CPython. The new release also provides the ability to load pre-compiled JavaScript code to speed up the loading of the standard library.

Brython 3.14 includes a complete reworking of the implementation of built-in types and the rewriting of code to parse arguments to built-in functions and methods. This version of Brython is compatible with CPython 3.14 and implements most of the new features introduced in this release, such as support for t-strings and lazy annotation processing.

/Reports, release notes, official announcements.