collagraph
nitro
collagraph | nitro | |
---|---|---|
3 | 3 | |
28 | 200 | |
- | 0.5% | |
4.7 | 3.1 | |
3 days ago | 12 months ago | |
Python | TypeScript | |
MIT License | Apache License 2.0 |
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.
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)
nitro
-
Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
Looks similar to Nitro https://nitro.h2o.ai/ and Wave https://wave.h2o.ai/ - both open source. Nitro already works with WebAssembly via Pyodide. (Author here)
-
PyScript
Does PyScript offer anything of significance over and above what Pyodide already offers, other than several py-* tags?
In my experience, it's trivial accomplish this with Pyodide.
Here's a web worker that hosts Pyodide and loads packages, PyPI wheels, external modules, etc. and launches type=text/python script tags in-browser:
https://github.com/h2oai/nitro/blob/main/web/public/nitride....
About ~100 lines of code.
-
Ask HN: Visual scripting works well for games but not general software. Why?
I miss RAD tools too. Visual Basic was hugely popular two decades ago. The ease of building GUIs was unparalleled. That experience carried over to some extent with Windows Forms, WPF, Adobe Flex, etc., but not quite the same.
A decent blend of RAD and visual programming is the Max/MSP that ships with Ableton Live. It's fairly straightforward to build little audio/MIDI devices, then switch to visual programming for the implementation (objects/patchcords/control in Max terms).
> Doing GUIs only in code is tedious and boring.
Totally. But given that most GUI software these days involves client/server, I'm not sure if there's a simpler solution.
I work on Nitro[1] these days, and it's an attempt to make GUI development simpler and less tedious, primarily by trying to abstract away client/server programming and opting for a simpler way to program UIs without dealing with callbacks or event-handlers.
[1] https://github.com/h2oai/nitro
What are some alternatives?
ComponentKit - A React-inspired view framework for iOS.
chainlit - Build Conversational AI in minutes ⚡️
hypertext - Hypertext authoring with Ruby
wave - Realtime Web Apps and Dashboards for Python and R
rux - A jsx-inspired way to render view components in Ruby.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
elementary - Not Another Templating Language
DeathStrandingPorteria - A "Porter-pedia" for Porters of Death Stranding
tagstr - This repo contains an issue tracker, examples, and early work related to PEP 999: Tag Strings
RIG - Create low-latency, interactive user experiences for stateless microservices.
geodesy
cumulocity-app-builder - The Application Builder for Cumulocity provides a simple, coding-free way to create new applications inside Cumulocity. Application Builder is an open-source tool for you to create web applications in a no-code environment. Created by Global Presales.