Skip to main content

Usage

Easiest way to install:

pip install closure-soy

pip install webassets-closure-soy

You can set environment variables to use your own SoyToJsSrcCompiler.jar but this package will look for the closure-soy package for easy setup.

In your assets.py file:

from webassets_ext import ClosureSoyFilter

from webassets.filter import register_filter

register_filter(ClosureSoyFilter)

Then use filter=”closure_soy” wherever you want to use it. If you want to chain it with a js minifer, make sure that closure_soy 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-closure-soy 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for webassets-closure-soy 1.0.0
File Size Uploaded Provenance Actions
webassets-closure-soy-1.0.0.tar.gz 3.2 kB Without provenance Details for webassets-closure-soy-1.0.0.tar.gz

Release files / webassets-closure-soy-1.0.0.tar.gz

Download URL webassets-closure-soy-1.0.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
95c64af26f4cb46a5417d923f0be7bc9d9de8a15808668405273480bf846ece7
BLAKE2b-256 checksum
How to use checksums
94a134d8d3b86de056220d33a066cc0d69aa1c455b1ca863ea9e4ff8a232ea45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for webassets-closure-soy 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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page