Skip to content

gsamokovarov/plush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

     ______ _____   _______ _______ _______
    |   __ \     |_|   |   |     __|   |   |
    |    __/       |   |   |__     |       |
    |___|  |_______|_______|_______|___|___|

Introduction

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.

Features

  • Pythonic DSL-like interface
  • Asynchronous code execution
  • Easily configurable

Example

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.

Documentation

Watch the wiki for updates.

Installation

pip install plush-web

License

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

http://www.apache.org/licenses/LICENSE-2.0

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.

About

Python's most fluffy web framework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published