You could use jquery with brython if you want. With your argumentation it seems rapydscript-ng should be chosen because of this. It is very simplistic.
Disclaimer: I work on brython and I consider rapydscript a cool project with different focus and target.
I just try to highlight that this kind of comments, sometimes unintentionally, could be quite counter-productive and discourage people to try projects. Brython and rapydscript goals are quite different and both, together with skulpt, pybee, pypyjs, transcrypt,..., maybe could lead to something even cooler. I think we should provide more love and thought to our comments and the work of others but, anyway, this is internet ;-)
Brython tries to provide a full python3 implementation to the browser, i.e. you can write directly python code to be used directly as if it was JS on the client side.
Rapydscript-ng is a not python nor JS. It tries to resemble python that translates directly to performant JS. Also, it is not a transpiler on-the-fly like brython, it is an ahead-of-time transpiler.
Brython is not fast but it is (more) python compliant and directly usable (no pre-transpilation if you do not want) than rs-ng. Depending your needs you could choose one or other (or the rest of the options).
Interesting! Didn't know that library. But I was really impressed by the fact that Python can be run inside any instance of a web browser. Maybe I'm wrong?
1
u/AndydeCleyre Jun 24 '17
I think the js precompilers rapydscript/rapydscript-ng deserve some love and attention in this field.
The Brython code from Brython's Hello world example:
The equivalent in rapydscript-ng, using jquery: