Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80865 > unrolled thread
| Started by | Pierre Quentel <pierre.quentel@gmail.com> |
|---|---|
| First post | 2014-11-16 00:54 -0800 |
| Last post | 2014-11-16 13:17 -0800 |
| Articles | 4 — 4 participants |
Back to article view | Back to comp.lang.python
[ANN] Brython 3.0.0 relased Pierre Quentel <pierre.quentel@gmail.com> - 2014-11-16 00:54 -0800
Re: [ANN] Brython 3.0.0 relased Marko Rauhamaa <marko@pacujo.net> - 2014-11-16 11:40 +0200
Re: [ANN] Brython 3.0.0 relased Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-16 23:39 +1100
Re: [ANN] Brython 3.0.0 relased Gary Herron <gherron@digipen.edu> - 2014-11-16 13:17 -0800
| From | Pierre Quentel <pierre.quentel@gmail.com> |
|---|---|
| Date | 2014-11-16 00:54 -0800 |
| Subject | [ANN] Brython 3.0.0 relased |
| Message-ID | <3938dee7-35d6-46fc-8606-13906f3202f8@googlegroups.com> |
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
[toc] | [next] | [standalone]
| From | Marko Rauhamaa <marko@pacujo.net> |
|---|---|
| Date | 2014-11-16 11:40 +0200 |
| Message-ID | <87k32viiv1.fsf@elektro.pacujo.net> |
| In reply to | #80865 |
Pierre Quentel <pierre.quentel@gmail.com>: > Version 3.0.0 of Brython has been released recently A timely notification! I have just introduced some server-side Python to my son and was about to start talking about client-side JavaScript. We'll give Brython a spin, instead. I'll spread the message at the office as well. Marko
[toc] | [prev] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2014-11-16 23:39 +1100 |
| Message-ID | <54689aeb$0$12978$c3e8da3$5496439d@news.astraweb.com> |
| In reply to | #80865 |
Pierre Quentel wrote: > 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. Very nice! -- Steven
[toc] | [prev] | [next] | [standalone]
| From | Gary Herron <gherron@digipen.edu> |
|---|---|
| Date | 2014-11-16 13:17 -0800 |
| Message-ID | <mailman.15902.1416172683.18130.python-list@python.org> |
| In reply to | #80865 |
On 11/16/2014 12:54 AM, Pierre Quentel wrote: > 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. I just recently started experimenting with Brython to create WebGL apps. I've done straight OpenGL via Python for *years* and wanted to leverage that knowledge and code for WebGL without getting any deeper into Javascript than necessary. I'm happy to report that Brython worked perfectly, seamlessly providing Python calls to (the JavaScript API) WebGL. Amazingly well done! Gary Herron -- Dr. Gary Herron Department of Computer Science DigiPen Institute of Technology (425) 895-4418
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web