Skip to main content

A wrapper around web.py to make it more like sinatra.

Project description

Spiderman is a wrapper around web.py to make it more like sinatra. Use it like this:

#!env/bin/python

from spiderman.helpers import *

@get('/')
def main_page():
    pass # main_page.haml in 'views' gets rendered.

@get('/example')
def example():
    # local vars get passed to example.haml template
    person = { 'name' : 'John', 'age' : 28 }
    return haml()

Project details


Release history Release notifications

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
spiderman-0.1.2.tar.gz (13.9 kB) Copy SHA256 hash SHA256 Source None Mar 24, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page