silkflow
collagraph
silkflow | collagraph | |
---|---|---|
2 | 3 | |
21 | 28 | |
- | - | |
5.7 | 4.7 | |
12 months ago | 6 days ago | |
Python | 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.
silkflow
-
It's React, but in Python
I love this project. Having used Streamlit and Plotly Dash a lot, I find this project imposes fewer constraints. That said, it didn't support my target browser so I wrote my own and in the process (re)discovered fine grained reactive (e.g. solidjs) as an improvement over the VDOM. Anyway, the outcome was a similar approach but supporting the Kindle's browser. https://github.com/esensible/silkflow
- Show HN: Silkflow, A fine grained reactive Python framework – for Kindles
collagraph
-
It's React, but in Python
Shameless plug for a similar project called Collagraph (https://github.com/fork-tongue/collagraph).
From the README: Write your Python interfaces in a declarative manner with plain render functions, component classes or even single-file components using Vue-like syntax, but with Python!
- Reactivity (made possible by leveraging observ)
-
Rux: A JSX-inspired way to render view components in Ruby
You could implement a HTML renderer with Collagraph (https://github.com/fork-tongue/collagraph).
From the README:
-
PyScript
https://github.com/fork-tongue/collagraph/pull/66
From the project README:
Write your Python interfaces in a declarative manner with plain render functions, component classes or even single-file components using Vue-like syntax, but with Python!
- Reactivity (made possible by leveraging observ)
- Function components
- Class components with local state and life-cycle methods/hooks
-Single-file components with Vue-like syntax (.cgx files)
- Custom renderers (PySide, pygfx and now PyScript)
What are some alternatives?
starfyre - A reactive, WASM based SSR Python Web Framework for Front-End Applications
ComponentKit - A React-inspired view framework for iOS.
pyxl3 - A Python 3 extension for writing structured and reusable inline HTML.
hypertext - Hypertext authoring with Ruby
pyxl4 - Extend Python syntax with HTML.
rux - A jsx-inspired way to render view components in Ruby.
yew - Rust / Wasm framework for creating reliable and efficient web applications
elementary - Not Another Templating Language
tagstr - This repo contains an issue tracker, examples, and early work related to PEP 999: Tag Strings
reacton - A pure Python port of React for ipywidgets
geodesy