# 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
```python
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
* https://deephaven.io/
## API Reference
[Start here](https://deephaven.io/core/pydoc/)
Raw data
{
"_id": null,
"home_page": "https://deephaven.io/",
"name": "deephaven-core",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "Deephaven Development",
"author": "Deephaven Data Labs",
"author_email": "python@deephaven.io",
"download_url": null,
"platform": null,
"description": "\n# Deephaven Python Integration Package\n\nDeephaven Python Integration Package is created by Deephaven Data Labs. It allows Python developers, including data\nscientists, to access data, run queries, and execute Python scripts directly inside Deephaven data servers to achieve\nmaximum performance. By taking advantage of the unique streaming table capability of Deephaven and its many data ingestion\nfacilities (Kafka, Parquet, CSV, SQL, etc.), Python developers can quickly put together a real-time data processing pipeline\nthat is high performing and easy to consume.\n\nIf you use a Windows operating system, WSL is **not** required to run Deephaven via pip.\n\n## Install\n\nBecause this package depends on the Deephaven server, it comes preinstalled with Deephaven Docker images and is made \navailable at runtime in the Python console in the Deephaven Web UI.\n\n## Quick start\n\n```python\nfrom deephaven import read_csv\nfrom deephaven.stream.kafka.consumer import kafka_consumer, TableType\nfrom deephaven.plot import Figure, PlotStyle\ncsv_table = read_csv(\"data1.csv\")\nkafka_table = kafka_consumer.consume({'bootstrap.servers': 'redpanda:29092'}, topic='realtime_feed', table_type=TableType.Append)\njoined_table = kafka_table.join(csv_table, on=[\"key_col_1\", \"key_col_2\"], joins=[\"data_col1\"])\nplot = Figure() \\\n .axes(plot_style = PlotStyle.STACKED_BAR )\\\n .plot_cat(series_name=\"Categories1\", t=joined_table, category=\"Key_col_1\", y = \"data_col1\") \\\n .show()\n```\n\n## Related documentation\n\n* https://deephaven.io/\n\n## API Reference\n\n[Start here](https://deephaven.io/core/pydoc/)\n",
"bugtrack_url": null,
"license": "Deephaven Community License",
"summary": "Deephaven Engine Python Package",
"version": "0.36.1",
"project_urls": {
"Homepage": "https://deephaven.io/"
},
"split_keywords": [
"deephaven",
"development"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5b467856453ca9cdb4dd5ce6aa8337ee4b4328100786ae84b963e1fd98088712",
"md5": "5fd57e43bf5690794601b67a67b592b4",
"sha256": "898879f1800ad4ac35edf838acd3309fe646a68d80255f767657ba63f08e1f7a"
},
"downloads": -1,
"filename": "deephaven_core-0.36.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5fd57e43bf5690794601b67a67b592b4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 189143,
"upload_time": "2024-08-23T20:41:38",
"upload_time_iso_8601": "2024-08-23T20:41:38.057992Z",
"url": "https://files.pythonhosted.org/packages/5b/46/7856453ca9cdb4dd5ce6aa8337ee4b4328100786ae84b963e1fd98088712/deephaven_core-0.36.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-23 20:41:38",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "deephaven-core"
}