Skip to main content

plugin for deephaven

Project description

deephaven_altair

This is a Python plugin to display Vega-Altair charts in Deephaven, generated from a deephaven-plugin template.

It is a work in progress, but works well for basic and layered charts, but not concat, repeat, or facet charts at this time.

Building the Plugin

To build the plugin, you will need npm and python installed, as well as the build package for Python. nvm is also strongly recommended, and an .nvmrc file is included in the project. The python venv can be created and the recommended packages installed with the following commands:

cd deephaven_altair
python -m venv .venv
source .venv/bin/activate
pip install --upgrade -r requirements.txt

Build the JavaScript plugin from the src/js directory:

cd src/js
nvm use
npm install
npm run build

Then, build the Python plugin from the top-level directory:

cd ../..
python -m build --wheel

The built wheel file will be located in the dist directory.

Installing the Plugin

The plugin can be installed into a Deephaven instance with pip install <wheel file>. The wheel file is stored in the dist directory after building the plugin. Exactly how this is done will depend on how you are running Deephaven. If using the venv created above, the plugin and server can be created with the following commands:

pip install deephaven-server
pip install dist/deephaven_altair-0.0.1.dev0-py3-none-any.whl
deephaven server

See the plug-in documentation for more information.

Using the Plugin

Once the Deephaven server is running, the plugin should be available to use.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

deephaven_altair-0.0.1.dev0-py3-none-any.whl (443.5 kB view details)

Uploaded Python 3

File details

Details for the file deephaven_altair-0.0.1.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for deephaven_altair-0.0.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 1114f3a718a60b9d7727f4d5b290d4eeb3ca3c29c97b404074340a8dc35c7b7b
MD5 bd687a30e39f4b476b5ba783a8de1020
BLAKE2b-256 bd7c625674b7b405212148715a81d5a1b645811fad410a83a952346cf6b6878e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page