Home

Awesome

Juno

Using Juno

To start off:

from juno import *

@route('/')
def index(web):
    return 'Juno says hi'

run()

Add some url handling:

@route('/hello/:name/')
def hello(web, name):
    return 'Hello, %s' %name

Use a template:

@get('/hi_template/:name/')
def template_hi(web, name):
    template('hello.html', name=name)

Build a model:

Person = model('Person', name='string')
p = Person(name='brian')

Features

Install

Help / Contribute

Note