Deephaven Engine Python Package
Project description
Deephaven Python Integration Package
Deephaven Python Integration Package is created by Deephaven Data Labs. It allows Python developers, including data scientists, to access data, run queries, and execute Python scripts directly inside Deephaven data servers to achieve maximum performance. By taking advantage of the unique streaming table capability of Deephaven and its many data ingestion facilities (Kafka, Parquet, CSV, SQL, etc.), Python developers can quickly put together a real-time data processing pipeline that is high performing and easy to consume.
If you use a Windows operating system, WSL is not required to run Deephaven via pip.
Install
Because this package depends on the Deephaven server, it comes preinstalled with Deephaven Docker images and is made available at runtime in the Python console in the Deephaven Web UI.
Quick start
from deephaven import read_csv
from deephaven.stream.kafka.consumer import kafka_consumer, TableType
from deephaven.plot import Figure, PlotStyle
csv_table = read_csv("data1.csv")
kafka_table = kafka_consumer.consume({'bootstrap.servers': 'redpanda:29092'}, topic='realtime_feed', table_type=TableType.Append)
joined_table = kafka_table.join(csv_table, on=["key_col_1", "key_col_2"], joins=["data_col1"])
plot = Figure() \
.axes(plot_style = PlotStyle.STACKED_BAR )\
.plot_cat(series_name="Categories1", t=joined_table, category="Key_col_1", y = "data_col1") \
.show()
Related documentation
API Reference
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file deephaven_core-0.34.4-py3-none-any.whl
.
File metadata
- Download URL: deephaven_core-0.34.4-py3-none-any.whl
- Upload date:
- Size: 169.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e786f5019d6eeccd5f463b56f05b7edf46f64720eed70a1457a2e817d09d27ac |
|
MD5 | 9131a018ec70fed0dd4d6c027190f539 |
|
BLAKE2b-256 | da357cd35e795d7a94b6194d8e7263bdc21cafbb651c0f1b1cb6136d33227305 |
Provenance
The following attestation bundles were made for deephaven_core-0.34.4-py3-none-any.whl
:
Publisher:
publish-ci.yml
on deephaven/deephaven-core
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
deephaven_core-0.34.4-py3-none-any.whl
- Subject digest:
e786f5019d6eeccd5f463b56f05b7edf46f64720eed70a1457a2e817d09d27ac
- Sigstore transparency entry: 150710532
- Sigstore integration time:
- Predicate type: