I’m building a Python-native frontend framework that runs in the browser (Evolve)
Posted by United_Intention42@reddit | Python | View on Reddit | 9 comments
I’m currently building a personal project called Evolve - a Python-native frontend framework using WebAssembly and a minimal JavaScript kernel to manage DOM operations.
The idea: write UI logic in Python, run it in the browser, with a reactive system (no virtual DOM).
Still early stage, not sharing the repo yet - but I’ll be posting progress, architecture, and demos soon.
Would love to know: would you try a Python-first frontend framework?
riklaunim@reddit
If you want to move backend logic to frontend then it's usually a bad idea (still has use cases but not the most common ones in webdev). Then if you want to make a SPA PyScript framework like Vue or Ember, then yes that one could have solid demand. But it would have to be well designed and well made.
United_Intention42@reddit (OP)
What do you mean by moving backend logic to the frontend? And yeah, It will run Python in the browser via Pyodide which uses WASM. So, it will be a frontend framework in python (Solidjs in Python)
riklaunim@reddit
There is PyScript and initially it used the Python as it backend and allowed running a lot of Python libraries - people had the idea to compute or use a database there - in the frontend. Then PyScript switched to MicroPython backend and that cleared things ;) So now PyScript is JS replacement instead of "lets run numpy" and could be used to write a SPA JS frontend framework.
mattytrentini@reddit
Just to clarify; PyScript provides both a CPython (via Pyodide) *and* MicroPython interpreters.
United_Intention42@reddit (OP)
Oh. I didn't know this story. But, Evolve will not move backend to the frontend.
It will be purely for the frontend only.
Django or FastAPI are better and simpler for the backend.
Nictec@reddit
„Not posting the repo yet“. Why then post at all?!
United_Intention42@reddit (OP)
I am still building it and will be launching v1 soon. So, not keeping it closed source. It will be open-source at the launch.
stratguitar577@reddit
Why? There are already a bunch of these out there
United_Intention42@reddit (OP)
All of those are slow because, they use React or Next.js in deep layers and update UI states with the backend server.
Evolve will not need a backend server, UI updates will be done through direct DOM manipulation through the JS kernel.