Skip to content
/ sauce Public

The sauce is the boss - decorator URL routing built on top of web.py

Notifications You must be signed in to change notification settings

jzellman/sauce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Create a file app.py with the following:

import urls
from sauce import application

if __name__ == "__main__":
    application().run()


Create a file called views.py/actions.py/etc. with your urls and actions like so:

from sauce import get, post, delete, put
import web

@post("/users/([a-zA-Z_]*/")
def save_user(username):
    pass

@get("/")
def index():
    pass



About

The sauce is the boss - decorator URL routing built on top of web.py

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages