djLint
jinja_partials
djLint | jinja_partials | |
---|---|---|
4 | 1 | |
599 | 179 | |
3.3% | - | |
8.3 | 6.4 | |
16 days ago | 21 days ago | |
Python | Python | |
GNU General Public License v3.0 only | 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.
djLint
-
Django Code Formatting and Linting Made Easy: A Step-by-Step Pre-commit Hook Tutorial
- repo: https://github.com/Riverside-Healthcare/djLint rev: v1.32.0 hooks: - id: djlint-reformat-django - id: djlint-django
-
Improve your Django Code with pre-commit
For Django users, which you presumably are, this will be a God send! Check out the repo. This is an HTML linter... but for Django templates 🤯
-
Hugo no theme
There is also another gohtml file type formatter, you can find it here https://github.com/Riverside-Healthcare/djlint.
-
Django template formatter
djLint is far batter than djhtml. it has support for both formatting and linting.
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?
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
django-htmx - Extensions for using Django with htmx.
pretix - Ticket shop application for conferences, festivals, concerts, tech events, shows, exhibitions, workshops, barcamps, etc.
jinjax - Server-Side Components with Jinja
kapitan - Generic templated configuration management for Kubernetes, Terraform and other things
Flask-Plots - Flask-Plots is a library for creating and rendering static visualizations using Matplotlib in Python.
htmx-python-course - Student details, source code, and more for our HTMX + Flask: Modern Python Web Apps, Hold the JavaScript course.
django-migration-linter - :rocket: Detect backward incompatible migrations for your django project
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! 👇👇👇
jinja2-simple-tags - Base classes for quick-and-easy template tag development
flask-comment - Create comment component in Flask/Jinja2 template.