home.social

#jinja2 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #jinja2, aggregated by home.social.

  1. 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: github.com/askama-rs/askama/re

    crates.io/crates/askama

    Enjoy!

    #rust #jinja #jinja2

  2. 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

  3. SSTI в Python под микроскопом: разбираем Python-шаблонизаторы

    В статье разберем, какой импакт атакующие могут получить, используя SSTI (server-side template injection) в пяти самых популярных шаблонизаторах для Python: Jinja2, Django Templates, Mako, Chameleon, Tornado Templates. Отметим, что это не новый ресерч с rocket-science-векторами, а анализ работы уже известных PoC и разбор улучшений части из них, которая может быть полезна при тестировании. Приятного прочтения! Читать

    habr.com/ru/companies/bizone/a

    #ssti #вебуязвимости #пентест #багбаунти #шаблонизатор #jinja2 #django_templates

  4. #Jinja2 #Zensus

    „Im Schnitt betrug die Nettokaltmiete in Spiekeroog am Stichtag 10,55 €/qm. Unter den 100 teuersten Gemeinden Deutschlands nimmt Spiekeroog damit Platz 68 ein. Bezogen auf die teuersten Gemeinden in Niedersachsen ist Spiekeroog die Nummer 2.“

  5. Automatische Textbefüllung mit #Jinja2 (Python) aus den Daten des #Zensus 2022:

    „Im Schnitt betrug die Nettokaltmiete in Magdeburg am Stichtag 5,75 €/qm. Bezogen auf die teuersten Gemeinden in Sachsen-Anhalt ist Magdeburg damit die Nummer 9.“

    zensus2022.de/DE/Ergebnisse-de

  6. Myslel jsem si, že z kombinace #Jinja2 a #Markdown je akorát nepořádek, zvlášť když přimíchám makra, a že ten moderní přístup, to #MDX, kdy se všechno píše jako nějaké ty frontendové komponenty a tak, že by to bylo lepší.

    Teď mám pod rukama větší projekt, kde je všechno to nové: #Docusaurus, .md, .mdx, .jsx, .tsx… a teda nemám pocit, že by to byl nějaký menší bordel.

    Zjevně to vždy začne „budou to jen Markdown soubory v adresáři, fakt jen pár dynamických věcí“, a skončí to jako PHP verze 3.

  7. What would you choose if you had to choose between #handlebars and #jinja2 templating engines?

    Please share for visibility and comment for science.

  8. I moved servers, so here's an #Introduction:

    I'm a #Python / #Java #SoftwareEngineer by day, but after that I interact with a lot of #FOSS and other #OpenSource projects.

    I maintain and own #Select2, the #JavaScript library that I joke is keeping #jQuery alive. I'm also a maintainer on #DjangoRestFramework and #Jinja2 but I'll admit I do less with them now that I don't use #Django for work.

    I have a lot of #HomeAutomation projects that make heavy use of #HomeAssistant (#ESPHome, #ZigBee).

  9. An :

    I'm a by day, but after that I interact with a lot of and other projects.

    I maintain and own , the library that I joke is keeping alive. I'm also a maintainer on and but I'll admit I do less with them now that I don't use for work.

    I have a lot of projects that make heavy use of (, ).