mountaineer
hyperdiv
mountaineer | hyperdiv | |
---|---|---|
4 | 3 | |
792 | 760 | |
- | 8.6% | |
9.7 | 8.8 | |
5 days ago | 4 days ago | |
Python | Python | |
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.
mountaineer
-
Ludic: New framework for Python with seamless Htmx support
I imagine a lot of this comes down to personal preference. In the early days of Mountaineer (gee, almost two months ago at this point), I played around with the idea of embedding html into python instead of needing a JS layer. Eventually my consensus was:
- The most extensive typehinted approaches typically end up wrapping JS/React components anyway (like Reflex/Pinecone)
- We really need better IDE support for html strings that are within python strings. The editing problem is a big setback.
The ergonomics of Python + JS in separate code files won out and the user experience has been better than forcing them both into a common language would be.
This has the benefit of leveraging whatever the two languages are best at, in native code, so you have access to all the native APIs without having to learn a shim on top of it. Way more longevity to that approach too. Context switching between two languages isn't that bad if you minimize the glue layer that you have to write between them.
[^1]: https://github.com/piercefreeman/mountaineer
-
This Week In Python
mountaineer – batteries-included web framework for Python and React
-
Show HN: Mountaineer – Webapps in Python and React
https://github.com/piercefreeman/mountaineer/tree/1d44cdf1c6...
(In an old commit and stripped out from the current codebase until it has better test coverage and the main codebase is stable)
hyperdiv
-
This Week In Python
https – Build reactive web UIs in Python
-
Ludic: New framework for Python with seamless Htmx support
Nice! A bit verbose for my taste but writing for the web in python is a space where all innovation is welcome.
I personally like hyperdiv [1] approach (even if no use of Htmx) which is very intuitive for python code.
[1]: https://github.com/hyperdiv/hyperdiv
- Show HN: Hyperdiv – Reactive, immediate-mode web UI framework for Python
What are some alternatives?
anansi-tags - Apply markdown to Python strings to get ANSI
PHPTAL - PHP Template Attribute Language — template engine for XSS-proof well-formed XHTML and HTML5 pages