Usage
Easiest way to install:
pip install pwt.jinja2js
pip install webassets-jinja2js
In your assets.py file:
from webassets_ext import JinjaToJSFilter
from webassets.filter import register_filter
register_filter(JinjaToJSFilter)
Then use filter=”jinja2js” wherever you want to use it. If you want to chain it with a js minifer, make sure that jinja2js comes first in the list of filters.
Bugs
If you have any issues, please open a ticket at the Github page.
Metadata
Release files for webassets-jinja2js 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| webassets-jinja2js-1.0.0.tar.gz | 2.3 kB | Without provenance | Details for webassets-jinja2js-1.0.0.tar.gz |
Release files / webassets-jinja2js-1.0.0.tar.gz
| Download URL | webassets-jinja2js-1.0.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
522618ba72251c5b49255d3da72b6bfeb88cfe7072814ace56ac5cacf3781228
|
|
BLAKE2b-256 checksum How to use checksums |
ae5290a16b7c70fb6bc8cf9b209ff43563c5211e82cc72f0d9da040afc332fcc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for webassets-jinja2js 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.