brython
wasmer
brython | wasmer | |
---|---|---|
12 | 131 | |
6,262 | 17,829 | |
0.4% | 1.2% | |
9.8 | 9.9 | |
4 days ago | 4 days ago | |
Python | Rust | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
brython
- Brython (Browser Python) is an implementation of Python 3 running in the browser
-
Python on a website
Or through an interpreter: https://github.com/brython-dev/brython
- Brython-3.10.6 Python to JavaScript JIT Now Using Abstract Syntax Tree
-
Do you want to use PyScript?
I'm a bit sceptical. It's actually not the first time someone wants to include Python in the browser, for example, brython has tried something similar.
-
Run Python in Your HTML via Pyodide
This uses Pyodide [0] under the hood [1], which is CPython compiled to WebAssembly. In all my tests of it, loading takes a long time ~5 seconds. Coldbrew [2], another distribution of CPython on Wasm, is another option with similar load times.
And Brython [3] is a completely different option without long load time: a Python interpreter implemented in JavaScript.
If load time is important, Brython is pretty nice. If feature completeness is important, Pyodide and Coldbrew are probably best.
[0] https://github.com/pyscript/pyscript/blob/main/pyscriptjs/sr...
[1] https://github.com/pyodide/pyodide
[2] https://github.com/plasticityai/coldbrew
[3] https://github.com/brython-dev/brython
-
Is JavaScript necessary for python web developer.
Brython python implementation that runs in the browser
-
hello guys...I am new to web development and want to know if I can use python for client-side development?
Yes you can use a tool such as brython. But i think you should learn javascript of you want to be a web developer.
-
Front end with python.
Check out Brython: https://github.com/brython-dev/brython
- Show HN: Brython is an implementation of Python 3 running in the browser
-
How would you implement a remote REPL? (e.g. Redis)
https://github.com/brython-dev/brython/blob/master/www/console.html is https://brython.info/console.html - a full interpreter running in the browser
wasmer
-
Bebop v3: a fast, modern replacement to Protocol Buffers
This is awesome. I'd love to have upstream support in Wasmer ( https://wasmer.io )
-
Unlocking the Power of WebAssembly
WebAssembly is extremely portable. WebAssembly runs on: all major web browsers, V8 runtimes like Node.js, and independent Wasm runtimes like Wasmtime, Lucet, and Wasmer.
-
Show HN: dockerc – Docker image to static executable "compiler"
Unfortunately cosmopolitan wouldn't work for dockerc. Cosmopolitan works as long as you only use it but container runtimes require additional features. Also containers contain arbitrary executables so not sure how that would work either...
As for WASM, this is already possible using container2wasm[0] and wasmer[1]'s ability to generate static binaries.
[0]: https://github.com/ktock/container2wasm
[1]: https://wasmer.io/
- RustPython
-
Howto: WASM runtimes in Docker / Colima
I could not find any guide how to add WASM container capability to Docker running on Colima. This guide provides a few Colima templates for exactly this, which adds WasmEdge, Wasmtime and Wasmer runtime types.
-
Show HN: Mutable.ai – Turn your codebase into a Wiki
Just suggested as well Wasmer on Twitter! https://github.com/wasmerio/wasmer
Looking forward to seeing the results :)
- Jaq – A jq clone focused on correctness, speed, and simplicity
-
Prettier $20k Bounty was Claimed
The Biome team has been incredibly fast on solving the challenge and achieving 95% compatibility with Prettier [1]
Just as a note, as it was not mentioned in the article, Wasmer [2] also participated with a $2,500 bounty to compile Biome to WASIX [3], and it has been awesome to see how their team has been working to achieve this as well... hopefully we'll get Biome running in Wasmer soon!
Keep up the great work!!
[1] https://github.com/biomejs/biome/issues/720
[2] https://wasmer.io/
[3] https://wasix.org/
-
The Curse of Docker
It's funny how WebAssembly can help overcome most of the issues mentioned on the blogpost (packaging, configuration, portability) if addressed properly.
That's the main reason Wasmer [1] was created :)
[1] https://wasmer.io
-
Bring garbage collected programming languages efficiently to WebAssembly
Thanks for the mention to Wasmer.
I'll put here a link in case is useful for future readers: https://wasmer.io/
What are some alternatives?
pyscript - Try PyScript: https://pyscript.com Examples: https://tinyurl.com/pyscript-examples Community: https://discord.gg/HxvBtukrg2
wasmtime - A fast and secure runtime for WebAssembly
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
SSVM - WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.
Transcrypt - Python 3.9 to JavaScript compiler - Lean, fast, open! -
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime
anvil-runtime - The runtime engine for hosting Anvil web apps
quickjs-emscripten - Safely execute untrusted Javascript in your Javascript, and execute synchronous code that uses async functions
pypyjs - PyPy compiled to JavaScript
awesome-wasm-runtimes - A list of webassemby runtimes
remi - Python REMote Interface library. Platform independent. In about 100 Kbytes, perfect for your diet.
wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript