Skip to main content

Google Closure's Soy templates packaged for Python

Project description


  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.


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.


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.

Files for closure-soy, version 20121221
Filename, size File type Python version Upload date Hashes
Filename, size closure-soy-20121221.tar.gz (10.0 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page