☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Save/export data table content on client side

Community Support
Fabio_Pliger
Fabio_Pliger

Hi,

It depends a lot on how how are you using bokeh.

  • If you use bokeh-server the answer is yes, you can do it (save csv file with the content you want to a local path).

  • If you are not using bokeh-server and you are just embedding a bokeh plot then you still can do it but you’ll probably need to do it via a JS callback (this means you’ll need to write a few lines of JS).

You can look at:

https://github.com/bokeh/bokeh/blob/master/examples/glyphs/data_tables_server.py

and

https://github.com/bokeh/bokeh/tree/master/examples/app

for examples that show the interactivity you need to do what you need using the server.

Fabio

···

On Wed, Aug 5, 2015 at 11:28 PM, xyliu00@gmail.com wrote:

I asked the question on the stackoverflow: http://stackoverflow.com/questions/31824124/is-there-a-way-to-save-bokeh-data-table-content

But didn’t see a direct answer.

Does bokeh provide such utility to save / export data table content? If it already does, I have not found answer in the document yet. If it does not, is there a plan to add ‘tool bar’ like features (including save) to the data table too?

I would hate to have to learn JS.

Thanks!

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/c4025d6e-5e94-446b-acac-9f1c3dd2defc%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

–

Fabio Pliger

⌁   Link to post
xyliu00
xyliu00

My knowledge on JS is close to zero. I need to do this on client side, no server then. I will take a look at the callbacks and examples you linked. Wish me luck.

···

On Thursday, August 6, 2015 at 4:55:13 AM UTC-5, Fabio Pliger wrote:

Hi,

It depends a lot on how how are you using bokeh.

  • If you use bokeh-server the answer is yes, you can do it (save csv file with the content you want to a local path).
  • If you are not using bokeh-server and you are just embedding a bokeh plot then you still can do it but you’ll probably need to do it via a JS callback (this means you’ll need to write a few lines of JS).

You can look at:

https://github.com/bokeh/bokeh/blob/master/examples/glyphs/data_tables_server.py

and

https://github.com/bokeh/bokeh/tree/master/examples/app

for examples that show the interactivity you need to do what you need using the server.

Fabio

⌁   Link to post
JTampel
JTampel

Are there any plans for python transpiling to JS or wrapping callbacks in python?

···

On Thursday, August 6, 2015 at 6:47:25 PM UTC-4, xyl...@gmail.com wrote:

My knowledge on JS is close to zero. I need to do this on client side, no server then. I will take a look at the callbacks and examples you linked. Wish me luck.

On Thursday, August 6, 2015 at 4:55:13 AM UTC-5, Fabio Pliger wrote:

Hi,

It depends a lot on how how are you using bokeh.

  • If you use bokeh-server the answer is yes, you can do it (save csv file with the content you want to a local path).
  • If you are not using bokeh-server and you are just embedding a bokeh plot then you still can do it but you’ll probably need to do it via a JS callback (this means you’ll need to write a few lines of JS).

You can look at:

https://github.com/bokeh/bokeh/blob/master/examples/glyphs/data_tables_server.py

and

https://github.com/bokeh/bokeh/tree/master/examples/app

for examples that show the interactivity you need to do what you need using the server.

Fabio

⌁   Link to post
Bryan
Bryan

Would be very much interested in this, there is just no one on the core team right now with any bandwidth to look into it. If there is anyone in the community with interest or experience in looking into making it possible to write callbacks in python that got executed as JS, I would try to get them as much help and information as I could, in a heartbeat.

Bryan

···

On Aug 6, 2015, at 9:33 PM, Jtemp <rtempl31@gmail.com> wrote:

Are there any plans for python transpiling to JS or wrapping callbacks in python?

⌁   Link to post
Fabio_Pliger
Fabio_Pliger

Hi,

I’d suggest you to take a look at this discussion: https://groups.google.com/a/continuum.io/forum/?utm_medium=email&utm_source=footer#!topic/bokeh/jMKf_Acj3XU

as it address the same request.

Also, as it seems to be a common need I’d encourage you to contribute to our repo with a PR if you end up building something reusable.

Thanks

Fabio

···

On Fri, Aug 7, 2015 at 12:47 AM, xyliu00@gmail.com wrote:

My knowledge on JS is close to zero. I need to do this on client side, no server then. I will take a look at the callbacks and examples you linked. Wish me luck.

On Thursday, August 6, 2015 at 4:55:13 AM UTC-5, Fabio Pliger wrote:

Hi,

It depends a lot on how how are you using bokeh.

  • If you use bokeh-server the answer is yes, you can do it (save csv file with the content you want to a local path).
  • If you are not using bokeh-server and you are just embedding a bokeh plot then you still can do it but you’ll probably need to do it via a JS callback (this means you’ll need to write a few lines of JS).

You can look at:

https://github.com/bokeh/bokeh/blob/master/examples/glyphs/data_tables_server.py

and

https://github.com/bokeh/bokeh/tree/master/examples/app

for examples that show the interactivity you need to do what you need using the server.

Fabio

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/228daae1-b883-4fd0-a7b2-11fc861e93a7%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

–

Fabio Pliger

Senior Software Engineer, Bokeh

⌁   Link to post

End of archived discussion · Replies are disabled