Plastic is a Python web framework built on top of Werkzeug.
from plastic.app import BaseApp
App = BaseApp.clone()
@App.route('/')
def hello(request):
return 'Hello, world!'
if __name__ == '__main__':
app = App()
app.run()
Run:
$ python hello.py
* Running on http://127.0.0.1:5555/
* Restarting with reloader