<commit_before>.. _userguide_server:

Bokeh Server
============

.. contents::
    :local:
    :depth: 2

.. program:: bokeh-server

.. _userguide_server_overview:

Overview
--------

The Bokeh server is an optional component that can be used to provide
additional capabilities, such as:

* hosting and publishing Bokeh plots for wider audiences
* streaming data to plots so that they automatically update
* interactively visualizing very large datasets by employing downsampling and abstract rendering
* building and deploying dashboards and apps with sophisticated user interactions

The Bokeh server is built on top of `Flask <http://flask.pocoo.org>`_. Bokeh
ships with a standalone executable ``bokeh-server`` that you can easily run,
and you can also embded the Bokeh server functionality inside another Flask
server using the Bokeh Server `Flask Blueprint <http://flask.pocoo.org/docs/0.10/blueprints/>`_.

The basic task of the Bokeh Server is to be a mediator between the original data
and plot models created by a user, and the reflected data and plot models in the
BokehJS client:

|

.. image:: /_images/bokeh_server.png
    :align: center
    :scale: 50 %<commit_msg>Fix spelling: s/embded/embed/<commit_after>.. _userguide_server:

Bokeh Server
============

.. contents::
    :local:
    :depth: 2

.. program:: bokeh-server

.. _userguide_server_overview:

Overview
--------

The Bokeh server is an optional component that can be used to provide
additional capabilities, such as:

* hosting and publishing Bokeh plots for wider audiences
* streaming data to plots so that they automatically update
* interactively visualizing very large datasets by employing downsampling and abstract rendering
* building and deploying dashboards and apps with sophisticated user interactions

The Bokeh server is built on top of `Flask <http://flask.pocoo.org>`_. Bokeh
ships with a standalone executable ``bokeh-server`` that you can easily run,
and you can also embed the Bokeh server functionality inside another Flask
server using the Bokeh Server `Flask Blueprint <http://flask.pocoo.org/docs/0.10/blueprints/>`_.

The basic task of the Bokeh Server is to be a mediator between the original data
and plot models created by a user, and the reflected data and plot models in the
BokehJS client:

|

.. image:: /_images/bokeh_server.png
    :align: center
    :scale: 50 %
{'fraction_non_alphanumeric': 0.0808421052631579, 'fraction_numerical': 0.0050526315789473685, 'mean_word_length': 4.2105263157894735, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5550901', 'n_tokens_mistral': 690, 'n_tokens_neox': 660, 'n_words': 300}