PyHPy is a static website generation framework, built on top of the Python-powered Mako templating engine.

Static is Beautiful

Static webpages have some very nice features:

Mako is Awesome

I chose to build this framework on top of Mako for the following reasons:

PyHPy Makes it Easy

PyHPy combines powerful tools like rsync, make, and mako-render, and adds a layer of convenience and integration on top.

Here's the typical process of building a site with PyHPy:

  1. Create content (like MarkDown), Mako templates, and static files (like images) in an input directory.
  2. Run make.  Content and templates are rendered, and the results are published to an output directory.
  3. View the output in a web browser.  If you're not totally happy with the result, GOTO 1.
  4. Upload the output directory to your web server using rsync or FTP.

The best way to start learning PyHPy is to read through the included 1-input/, which produces this website.  You can also read the documentation articles that are included in the demo blog.  If you have questions, send them to Christopher Sebastian.

View the Demo Photo Album

View the Demo Blog