Can you provide a few more details about your use case? There are a few ways to achieve what you describe (as far as I understand right your need) but it depends on your use case, the data format, etc… All solutions I can think of require some effort to write code that matches specific use cases.
That said… we are working on a very high level command line tool that can do something similar to what you describe. With that you can specify an input (local file or a csv file that can retrieved from a specific url) and tell the tool to monitor the file and append new records as soon as they arrive updating the chart stored on bokeh-server. You can see a bit of the discussions on the related github issue and take a look at the PR for the CLI Tool. Please notice that this is very experimental and is limited to the bokeh.charts interface but seems to go in the direction of your use case.
As I said before, It’d be great if you could provide more details about your use case and [in case you have] some code.
On Tuesday, January 6, 2015 7:10:12 AM UTC+1, [email protected] wrote:
I would like to know if it is possible to update a chart using an url as the data source that could provide live values?
Could that url be used either as:
- a long-polling http calls?
- or recurrent polls using a “Last-Modified” header from previous requests?
- or an http push using websocket or SSE?