pyxl4
rux
pyxl4 | rux | |
---|---|---|
4 | 9 | |
81 | 383 | |
- | - | |
0.0 | 5.8 | |
over 3 years ago | 6 months ago | |
Python | Ruby | |
Apache License 2.0 | 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.
pyxl4
-
It's React, but in Python
might just use pyxl4, by dropbox or Guido himself.
https://github.com/pyxl4/pyxl4
example:
- Rux: A JSX-inspired way to render view components in Ruby
- Adding C-style for loops to Python for fun
-
Lona - A web framework for responsive web apps in full python
any chance of adding support for something like pyxl4? it would make adding html a lot easier as it wouldn't require creating a new class each time manually.
rux
-
RubyJS-Vite
Thanks!
Both! I needed something like JSX, and I found Rux [1] but I had some issues with it, and then I found syntax_tree-haml [2] which gave me an AST that I could transform into Ruby. This is what the transformation looks like: https://gist.github.com/aalin/c0e4b0360a1f84d0283149fe4b2ce6...
I have always liked Haml because it's compact and easy to read.
[1] https://github.com/camertron/rux
[2] https://github.com/ruby-syntax-tree/syntax_tree-haml
- Have you been using ViewComponent. What advantages do you see in it?
-
Gnarly Learnings from March 2023
rux
- Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
- Rux: A JSX-inspired way to render view components in Ruby
-
Don't make me think, or why I switched to Rails from JavaScript SPAs
Check out Rux which is «A jsx-inspired way to render view components in Ruby» [to make HTML on the server]. https://github.com/camertron/rux
What are some alternatives?
elementary - Not Another Templating Language
openapi-typescript-codegen - NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification
pyxl3 - A Python 3 extension for writing structured and reusable inline HTML.
sdoc - Standalone sdoc generator
cinje - A Pythonic and ultra fast template engine DSL.
SailsJS - Realtime MVC Framework for Node.js
rbexy - A Ruby template language and component framework inspired by JSX and React
Thor - Thor is a toolkit for building powerful command-line interfaces.
geodesy
Capybara - Acceptance test framework for web applications
pyxl - A Python extension for writing structured and reusable inline HTML.
phlex - A framework for building object-oriented views in Ruby.