Skip to main content

Mustache to javascript compiler.

Project description

Mustache to javascript compiler

Mustache to javascript compiler written in python. It is based on twitter hogan.js compiler

Hogan.Template is still required for rendering.


  1. Install virtualenv:

    $ wget
    $ python2.7 ./ --no-site-packages venv
  2. Clone pyhogan from github and then install:

    $ git clone git://
    $ cd pyhogan
    $ ../venv/bin/python develop
  3. Compile your mustache templates:

    $ ../venv/bin/pyhogan template.mustache
    new Hogan.Template(function(c,p,i){...}


Node.js is required for tests:

$ cd pyhogen/spec/
$ ../../venv/python ./


  • Python 2.6 and up
  • Hogan.js 1.0.5


0.2 (2012-02-09)

  • Fixed

0.1 (2012-02-09)

  • Initial release

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 pyhogan, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size pyhogan-0.2.tar.gz (17.6 kB) File type Source Python version None Upload date Hashes View

Supported by

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