
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
py-level-fleet
Advanced tools
A powerful Vue.js-like templating engine for Python using Jinja2. This package provides a familiar Vue.js syntax while leveraging the robust features of Jinja2.
p- directivespip install py_level_fleet
from py_level_fleet import render_template
template = """
<div p-if="show">
<p p-text="message"></p>
</div>
<ul>
<li p-for="item in items" p-key="item.id">{{ item.name }}</li>
</ul>
"""
data = {
'show': True,
'message': 'Hello, World!',
'items': [{'id': 1, 'name': 'Item 1'}, {'id': 2, 'name': 'Item 2'}]
}
output = render_template(template, data)
print(output)
p-if: Conditional renderingp-else-if: Alternative conditionp-else: Fallback contentp-for: List renderingp-key: Unique key for list itemsp-bind: Dynamic attribute bindingp-text: Text content bindingp-html: HTML content bindingp-show: Conditional displayp-on: Event handlingp-model: Two-way data bindingp-pre: Skip compilationp-once: Render oncep-cloak: Hide until compiledfrom py_level_fleet import VueJinjaEngine
engine = VueJinjaEngine(enable_async=True)
output = await engine.render_template_async(template, data)
from py_level_fleet import VueJinjaEngine
engine = VueJinjaEngine(sandboxed=True)
output = engine.render_template(template, data)
from py_level_fleet import VueJinjaEngine
from babel.support import Translations
translations = Translations.load('locale', ['en'])
engine = VueJinjaEngine(i18n_translations=translations)
output = engine.render_template(template, data)
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Vishnu Prasad - GitHub
FAQs
A Vue.js-like templating engine using Jinja2 for Python
We found that py-level-fleet demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.