Skip to main content

Google Closure's Soy templates packaged for Python

Project description

Usage

  1. pip install closure-soy

  2. closure-soy [<flag1> <flag2> ...] --outputPathFormat <formatString> <soyFile1> <soyFile2> ...

Note: Consider integrating this package into webassets or another such package for automatic soy template compilation.

About

Closure Templates is a client and server side templating system for building reusable HTML and UI elements. Closure’s templating system is also commonly known as Soy templates.

This is a Java-based tool. This package, based on the Closure Compiler package, provides a simple way to install and use the the Closure Template compiler from Python, bundling the soy.jar with the Python package.

This package was built for integrating with webassets for automatic template compiliation.

Versions

Version YYYYMMDD of this package will bundle the corresponding version of the compiler (Closure uses the build date as the version).

If you want a new version to be uploaded, open a ticket at the Github page.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

closure-soy-20111222-rc1.tar.gz (9.7 MB view details)

Uploaded Source

File details

Details for the file closure-soy-20111222-rc1.tar.gz.

File metadata

File hashes

Hashes for closure-soy-20111222-rc1.tar.gz
Algorithm Hash digest
SHA256 587f3aaffeda2edc3e40dff854b91d1ccd627a36815990fcc4e1d100d7c73f5b
MD5 486ac749760187d0be2e87b42197f803
BLAKE2b-256 94f447fdedc8fcc248451c7a109a151432ac30087883ad2c9f2ec45e3aa1cfaf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page