mountaineer
ludic
mountaineer | ludic | |
---|---|---|
4 | 5 | |
781 | 493 | |
- | - | |
9.7 | 9.1 | |
3 days ago | 5 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.
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)
ludic
-
This Week In Python
ludic – Lightweight framework for building dynamic HTML pages in pure Python
-
Ludic: New framework for Python with seamless Htmx support
In general, this usually results in front-end logic being very tightly coupled with back-end logic. In some of the examples given, you even have database access in the same line that is generating the HTML document.
https://github.com/paveldedik/ludic/blob/main/examples/click...
It's the kind of thing that looks very cool and concise in small examples, but tends to become a nightmare when you are working on larger projects.
- FLaNK AI Weekly 18 March 2024
What are some alternatives?
anansi-tags - Apply markdown to Python strings to get ANSI