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.
Metadata
Release files for deephaven-altair 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deephaven_altair-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for deephaven_altair-0.0.1-py3-none-any.whl |
Release files / deephaven_altair-0.0.1-py3-none-any.whl
| Download URL | deephaven_altair-0.0.1-py3-none-any.whl |
|---|---|
| Size | 443.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56741c5b9e03c88b29427904148e434a0b8801a102979878f129ca14e6392f40
|
|
BLAKE2b-256 checksum How to use checksums |
ca53a9e6b1a20211fa0ba7416358627629ee06cab56f57385b22e6fd1d320277
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.11
|
Security for deephaven-altair 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.