-
Notifications
You must be signed in to change notification settings - Fork 2
swoopej/canteen
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
Canteen is an in progress Python web framework. So far, users can add functions in the following format: @app.add_route(/hello) def say_hello(): return 'Top of the morning' users can add parameters for a url and the function that is being decorated with the following: @app.add_route(/hello/<user>) def say_hello(user): return 'Top of the morning, ' + user users can specify calling functions only for certain HTTP methods by adding to the arguments that are passed to the add_route decorator. If not specified, the methods will default to only GET: @app.add_route(/hello/<user>, methods = ['GET', 'POST'] def say_hello(user): return 'Top of the morning, ' + user coming soon: session management, mime types.
About
There is Flask, there is Bottle, then there is Canteen, an in progress python web micro framework
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published