Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Lightweight web prototyping with Jinja2.
CSS Python Shell
tag: v0.1.1-dev

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
soil
.gitignore
CHANGELOG.rst
LICENSE
MANIFEST.in
README.rst
devel-requirements.txt
requirements.txt
setup.py

README.rst

soil

Better prototyping with Jinja2 and a shameless ripoff of lucuma/Clay.

Installing

pip install soil

Or, if you really wanted to:

git clone git://github.com/kuyan/soil.git
cd soil && python setup.py install

Or, if you really, really wanted to:

easy_install soil

But, to quote Kenneth Reitz:

... you really shouldn't do that.

Quick Start

First, create a new project and start editing:

shovel new new_project/
cd new_project/

Edit templates (see: Jinja2):

vim templates/index.html

Check out your project in your browser:

shovel run

You'll be able to see your site at http://127.0.0.1:5000.

Turn the templates into static HTML:

shovel build

The output will be stored in the build/ directory.

Features

  • Extensions!
  • Uses Jinja2 for templating.
  • And that’s pretty much everything notable. soil is a pretty simple.

Dependencies

Testing

Soil uses pytest. To run the tests:

pip install pytest
git clone git clone git://github.com/kuyan/soil.git
py.test soil/soil/test/

MIT licensed Copyright (C) 2012 Natan L
Something went wrong with that request. Please try again.