[ANN] Brython 3.0.0 relased

Pierre Quentel pierre.quentel at gmail.com
Sun Nov 16 03:54:14 EST 2014


Hi,

Version 3.0.0 of Brython has been released recently

Brython is an implementation of Python 3 running in the browser, with an interface to DOM elements and events. It allows writing web client applications with Python instead of Javascript.

Python programs are inserted in the HTML page inside tags <script type="text/python">. The code is translated into Javascript on the fly and executed, without any pre-compilation step.

Brython is *real* Python, supporting most of the Python syntax including comprehensions, generators, descriptors, classes with multiple inheritance, metaclasses etc. Dozens of modules from the Python standard distribution are included unmodified in the Brython distribution.

Performance has been much improved since the first versions. A loop like

a = 0
for i in range(10000000):
    a += 1

now runs slighlty faster with Brython than with CPython 3.3.

For an overview you can take a look at the online slideshow http://brython.info/slideshow/en/

Brython home page with documentation and demos : brython.info

Development site : https://github.com/brython-dev/brython





More information about the Python-list mailing list