wasmer-python
reactpy
wasmer-python | reactpy | |
---|---|---|
13 | 32 | |
2,092 | 8,092 | |
1.1% | 0.9% | |
6.1 | 7.7 | |
almost 2 years ago | 25 days ago | |
Rust | Python | |
MIT 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.
wasmer-python
-
WebAssembly: byte-code of the future
It's also possible to do this from many other languages. For example rust, ruby, python or from the CLI.
-
WebAssembly: Adding Python Support to WASM Language Runtimes
PyOdide isn't currently supported outside of browsers, though that might change.
Either way, I couldn't figure out how to do the above sequence of steps with any of the available Python WASM runtimes - they're all very under-documented at the moment, sadly. I tried all three of these:
- https://github.com/wasmerio/wasmer-python
- https://github.com/bytecodealliance/wasmtime-py
- https://github.com/wasm3/pywasm3
- Back-end languages are coming to the front-end
-
Running python in a browser (no sever)
Well... not with that attitude.
-
WAGI: WebAssembly Gateway Interface
Not just for web either: if you ship WebAssembly bytecode as part of your python package, you can push your platform dependencies out to a wasm runtime and skip most of the build matrix.
A runtime like wasmer-python [0] is only 1.5MB.
[0]: https://github.com/wasmerio/wasmer-python
- Wasmer Python
- Lona - A web framework for responsive web apps in full python
- What do you guys think of Dominate? Use cases?
- Can you convert python to JavaScript with libraries?
reactpy
-
FastHTML – Modern web applications in pure Python
Another Python framework agnostic project is ReactPy. [0]
[0]: https://github.com/reactive-python/reactpy
-
Using Mountaineer to develop a React app with Python
This project has some similarities with projects like ReactPy and PyReact. However, unlike those projects, it allows you to integrate both the frontend written in pure TypSscript/React and the backend in pure Python/Uvicorn into a single condebase, achieving strong coupling between the two layers by using Mountaineer.
-
reactpy VS solara - a user suggested alternative
2 projects | 13 Oct 2023
- Reflex – Web apps in pure Python
-
Front-end chatbot for my langchain bot
Havent used this yet, but I heard some great reviews about reactpy
- Learning JavaScript isn’t all too hard but still nice addition….right?
- React, but in Python
-
It's React, but in Python
ReactPy dev here. We haven't actually landed on how we want to solve this problem at the moment. We have some ideas though. Would be curious to hear your thoughts on this issue: https://github.com/reactive-python/reactpy/issues/828
We think option 4 looks the most appealing.
What are some alternatives?
gc - Branch of the spec repo scoped to discussion of GC integration in WebAssembly
Solara - A Pure Python, React-style Framework for Scaling Your Jupyter and Web Apps
dominate - Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API. It allows you to write HTML pages in pure Python very concisely, which eliminate the need to learn another template language, and to take advantage of the more powerful features of Python.
wave - Realtime Web Apps and Dashboards for Python and R
wagi - Write HTTP handlers in WebAssembly with a minimal amount of work
idom-dash - A custom component for Plotly Dash that uses IDOM