Vase is a webframework for Tulip/asyncio
Inspired by Flask
It currently has a basic WSGI interface and WebSocket support.
A demo websocket app is available here http://vase-chat.herokuapp.com/
Sample echo app
.. code-block:: python
from vase import Vase
app = Vase(__name__)
return "Hello Vase!"
Has the following attributes:
`bag` - a dictionary that is shared between all instances of this endpoint
`transport` - used to send messages into the websocket
self.transport.send("You are successfully connected")
def on_message(self, message):
def on_close(self, exc=None):
if __name__ == '__main__':
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.