______ _____ _______ _______ _______ | __ \ |_| | | __| | | | __/ | | |__ | | |___| |_______|_______|_______|___|___|
Plush is a micro web framework for Python, inspired by the current generation framework super stars like Sinatra, Express and Flask. It builds on top of the excelent Tornado web server, making Plush light, fast and fully asynchronous.
- Pythonic DSL-like interface
- Asynchronous code execution
- Easily configurable
from plush import Plush app = Plush(__name__) @app.get(r'/') def index(request): request.send('Hello World!') app.run()
That's it. By default it will run a webserver on the 8088 port.
Watch the wiki for updates.
pip install plush-web
Copyright 2011 Genadi Samokovarov
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.