-
Notifications
You must be signed in to change notification settings - Fork 0
jzellman/sauce
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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 0
No packages published