My favorites | Sign in
Project Home Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Project Information
Members

Use Django templates from the command line.

Requires Python 2.5 with simplejson or Python 2.6+ and Django.

Gets variables from environment variables (any env vars containing valid JSON are deserialized, otherwise they are treated as strings). Stdin is saved as a variable STDIN consisting of a list of lines broken into a list where: 0 = the full line and n is the nth field, demarcated by str.split (so the line of input "a b c" is 0="a b c", 1="a", 2="b", 3="c").

Powered by Google Project Hosting