Server with other web application frameworks. Possible with the Bokeh server, but often involves integrating a Bokeh Organization), that can access data or other artifacts published by manyĭifferent people (possibly with access controls). Their own private infrastructure to do so as well, but that is beyond theĪnother possibility is to have a single centrally created app (perhaps by an That we may create a public service to enable just this kind of usage in theįuture, and it would also certainly be possible for third parties to build One approach is to build up infrastructure that can run as many Bokeh serversĪs-needed, either on a per-app, or at least a per-user basis. In order to support this kind of multi-creator, multi-application environment, Security concerns make this kind of shared tenancy prohibitive. Because it is possible toĬreate applications that execute arbitrary python code, process isolation and Is not a good use-case for single Bokeh server. Another scenario is the case where a group of severalĬreators all want publish different applications to the same server. On the server, either for their own local use, or for consumption by a The simple example below, embedded from, illustratesīoth of the scenarios above involve a single creator making applications This capability to synchronize between python and the browser is the main Use periodic, timeout, and asynchronous callbacks to drive streaming updates Respond to UI and tool events generated in a browser with computations orĪutomatically push server-side updates to the UI (i.e. The browser in sync with one another, then more additional and powerful However, if it were possible to keep the “model objects” in python and in The exact same Bokeh plots and visualizations in the browser. (See Defining Key Concepts for a more detailedĭiscussion.) By itself, this flexible and decoupled design offers advantages,įor instance it is easy to have other languages (R, Scala, Lua, …) drive In Python, and then converted to a JSON format that is consumed by theĬlient library, BokehJS. (representing things like plots, ranges, axes, glyphs, etc.) are created The architecture of Bokeh is such that high-level “model objects” Python Callbacks with Jupyter Interactors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |