Just released the askama rust crate (jinja templating) 0.16.0 version!

It comes with a lot of nice features and increased support of jinja features.

You can see the full details here: https://github.com/askama-rs/askama/releases/tag/v0.16.0

https://crates.io/crates/askama

Enjoy!

#rust #jinja #jinja2

Release v0.16.0 · askama-rs/askama

This new release increases compatibility with jinja language, add support for more rust expressions in the templates. Take a look at the book for the migration guide. (❗ = breaking change) New feat...

GitHub
Client Challenge

Vengo laburando hace 10 meses en uno de los proyectos mas complejos de mi vida profesional: #Odoofly.
#Odoofly es una herramienta que simplifica el despliegue y mantenimiento de instancias #Odoo en Local o en la nube. No quise reinventar la rueda, pero si tomé las mejores prácticas en mis años de devops y metí todo en una herramienta CLI con una curva de aprendizaje suave.
No reemplaza el laburo de un #Devops, pero si les aseguro que te abstrae de interactuar al pepe con #Docker, por cuestiones relacionados con mantenimiento Odoo(actualizar addons, crear stagings, etc.)
El código esté basado en cimientos modernos: Usé #Typer para el CLI, @pydantic
para validaciones, #Jinja2 para templates, #Rich para textos y salidas facheritas, entre otros.
Si, todo codeado en #Python✌️
¿A quienes va dirigido? implementadores, Devops y empresas de todos los tamaños que quieran simplificar y hacer su infraestructura predecible y auditable.
La licencia será AGPL-3.0. #SoftwareLibre para comunidades libres.
GitHub - retigra/netbox-zabbix-sync at feature/jinja2-foundation

Python script to synchronise NetBox devices to Zabbix. - retigra/netbox-zabbix-sync

GitHub

Se me hacia cuesta arriba domar un tema existente, tipo blog. Con #CSS modernos puedes hacer layouts responsivos fácilmente con grid/flex. Puedes injectar los parámetros basicos para el branding del yaml al template html como variables CSS y propagar/modificar con calc y funciones de color. El resto de cosas que ofrece el generador ya estan en python: #jinja2, #markdown, #yaml, #watchdog...

#webdev

Filtrado dinámico de citas científicas

James Clerk Maxwell
Feynman
Von Neumann

#Fisica @Matematica

software ahora sostenible no libre SOSS
#python #flask #jinja2 #javascript
#Anzoategui #Lecheria

Línea de tiempo interactiva

#python #plotly #flask #javascript #jinja2
UNED Sabanilla #CostaRica
software sostenible #SOSS

Or is there something fucked up with the #Jinja2 parsing (like a bugged library or something)?

Cause I get this in another module:

Where as before it would evaluate to

"published_ports": []

instead...

Hết rồi phải gõ HTML string để tạo PDF invoice? PDFMyHTML vừa ra mắt công cụ thiết kế trực quan, hỗ trợ Handlebars & Jinja2. Mời bạn:
- Thiết kế giao diện, xem trước PDF ngay lập tức
- Tách biệt logic backend và view HTML
- Gọi API siêu gọn, không cần render HTML nguyên bản

Bạn thích hướng tiếp cận này?
#côngnghệ #PDF #API #SaaS #thiếtKếTrựcQuan #backend #Handlebars #Jinja2

@mod #technology #TemplateEngine #NoCode #Invoicing

https://www.reddit.com/r/SaaS/comments/1py1t11/stop_writ

Reading the Django 6.0 release notes, I really like the new Template Partials in the Django Template Language, originally started by @carlton. They strongly resonate with the Locality of Behavior design principle.

Since Django also supports Jinja2, I’m curious about convergence there too. Projects like jinja2-fragments by @sergi and jinja_partials by @mkennedy explore similar ideas.

https://docs.djangoproject.com/en/6.0/releases/6.0/
https://github.com/sponsfreixes/jinja2-fragments

Just a thought, not a proposal 🙂

#Django #Jinja2 #Templates