jinjax
jinja_partials
Our great sponsors
jinjax | jinja_partials | |
---|---|---|
3 | 1 | |
209 | 177 | |
- | - | |
7.6 | 6.4 | |
5 days ago | 15 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.
jinjax
-
Embracing Component-Based Templates with JinjaX
For more details and to get started with JinjaX, visit their official website.
- JinjaX – Components for Jinja Templates
- Jinjax: Server-Side Components with Jinja
jinja_partials
-
Building a fullstack app with Flask and HTMx
Recently saw Michael Kennedy's presentation at Python Web Conference where he talks about this. He also has a course on using Flask + HTMX. Even if you don't take the course, you do have access to the github repo for that course.
https://github.com/talkpython/htmx-python-course
He wrote a small library extending Jinja that does what you're referencing here, I believe. It's a little different than Jinja macros and include (you can reference the github issues for a discussion on that).
https://github.com/mikeckennedy/jinja_partials
Maybe that's what you're looking for?
What are some alternatives?
djLint - ✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang
django-htmx - Extensions for using Django with htmx.
Jinja2 - A very fast and expressive template engine.
jinja2-cli - CLI for Jinja2
htmx-python-course - Student details, source code, and more for our HTMX + Flask: Modern Python Web Apps, Hold the JavaScript course.
simple-homepage - command line utility that helps you create a personal homepage for your browser.
Flask-Plots - Flask-Plots is a library for creating and rendering static visualizations using Matplotlib in Python.
tcom - Server-Side Components with Jinja
shoelace-css - A collection of professionally designed, every day UI components built on Web standards. SHOELACE IS BECOMING WEB AWESOME. WE ARE LIVE ON KICKSTARTER! 👇👇👇
kapitan - Generic templated configuration management for Kubernetes, Terraform and other things
flask-comment - Create comment component in Flask/Jinja2 template.