deephaven-example-app

Deephaven Example Application


Keywords
deephaven, streaming, websockets, coinbase
License
Apache-2.0
Install
pip install deephaven-example-app==0.3.0

Documentation

deephaven-example-app

This is an example Deephaven application built using the deephaven-server PyPi package.

It demonstrates connecting to a real-time data source, performing simple operations on that data, and presenting the data to the user in the web UI.

The Coinbase websocket exchange feed was chosen as a data source for this example as it's simple to get up and running. It is not meant to have exhaustive coverage.

Requirements

  • Python >= 3.7
  • Java >= 11

A virtual environment is recommended.

Quickstart

curl one-liner:

curl -fsSL https://raw.github.com/deephaven-examples/deephaven-server-pypi-app/main/deephaven-example-app.sh | bash

wget one-liner:

wget https://raw.github.com/deephaven-examples/deephaven-server-pypi-app/main/deephaven-example-app.sh -O - | bash

Or more explicitly:

export JAVA_HOME=/path/to/java_home
source /path/to/venv/bin/activate

pip install deephaven-example-app

python -m deephaven_example_app

Development

export JAVA_HOME=/path/to/java_home
source /path/to/dev-venv/bin/activate

pip install -e .

python -m deephaven_example_app