Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Python JavaScript
Latest commit 742aba5 @Chris2048 Added nicer syntax
Failed to load latest commit information.
example initial commit
.gitignore removed coffeescript stuff from gitignore Added nicer syntax initial commit


A small module for sse in flask

There is a (hopefully) working test/demo in example/
Just run gunicorn -c app:app from that directory, then browse to http://localhost:8000

There should be an alternating PING and PONGs, and a randomly-generated graph should scroll (like on the flot homepage).
The (blue) graphs don't look the same on different tabs

Browse to /graph and a number will be show, and should be plotted in a different color on the graph, keep refreshing to plot more.
This is an example of one thread/request having an effect on the stream, and thus other thread/requests.
The (yellow) graphs do look the same on different tabs

Something went wrong with that request. Please try again.