Stache - Python forked version by clach04 #172
clach04
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Nice nuanced story. Are there any features that you miss in Stache? If so, are you considering to add them? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are a few different Mustache implementations for Python (including HandleBars). If you are looking for a Python library I'd probably recommend:
My hard fork is https://github.com/clach04/Stache as the upstream one (https://github.com/hyperturtle/Stache) is not active and pull requests have been ignored. Reasons for the fork are:
I had a need for this to work with a VERY old JVM/JRE.
The things I like about hyperturtle's Stache is the exists check, more details in #171 which is essentially option 3 in the discussion at #157. This was basically my requirements when I (originally) decided to use Stache, exists-check and supporting almost any version of Python you can find.
Stache also has options for generating js/javascript templates, which is neat but it isn't something I've made use of. Additional options are documented in the readme (but some of those are now in the official Mustache spec now) https://github.com/clach04/Stache#new-stuff.
I'm not sure I'd recommend Stache to anyone starting now in 2023, look for something that isn't carrying around Python 2.2 baggage, but it works well for me ;-)
Beta Was this translation helpful? Give feedback.
All reactions