Obligatory Sinatra style (but concurrent!) micro-web framework for Vanilla.
Project description
Obligatory Sinatra style (but concurrent!) micro-web framework for Vanilla.
Example
h = vanilla.Hub()
b = h.bean(port=8000)
@b.get('/')
def index(request, response):
response.send('Hello ')
h.sleep(1000)
return 'World.\n'
Installation
pip install vanilla.bean
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vanilla.bean-0.1.1.tar.gz
(3.0 kB
view hashes)