Skip to main content

Deephaven Core+ Python Client

The Deephaven Core+ Python client allows you to connect to Persistent Queries using the Core+ engine in the Deephaven Enterprise system. You may connect to either a new temporary Persistent Query, or one of the existing persistent queries that you have access to on the server.

The Python client wheel is located on a Deephaven server in /usr/illumon/coreplus/latest/py/wheel/, with a name of the form deephaven_coreplus_client-1.20231218.039-py3-none-any.whl. To use the wheel, use pip (e.g., pip install deephaven_coreplus_client-1.20231218.039-py3-none-any.whl). pip automatically installs dependencies referenced by the wheel, including the underlying pydeephaven client from Deephaven Community Core.

The first step in either case is to create a SessionManager, the Deephaven installation exposes a connection.json file that is the simplest way to create a session. Simply specify the URL from your Deephaven installation. Alternatively, you may provide a JSON string, using the json= named parameter.

from deephaven_enterprise.client.session_manager import SessionManager

connection_info = "https://deephaven-host.int.illumon.com:8000/iris/connection.json"
session_mgr: SessionManager = SessionManager(connection_info)

After the session is created, you may authenticate with a password:

session_mgr.password("username", "password")

Or using a private key:

session_mgr.private_key("/path-to-private-key/priv-username.base64.txt")

At this point, you can then connect to an existing Persistent Query. The session object extends from the Deephaven Community pydeephaven.session.Session. The Deephaven Community Python API documentation provides more information on interacting with the worker session.

session = session_mgr.connect_to_persistent_query("Community Python")
qc = session.open_table("tt")
print("Table size: ", qc.size)
session.close()

Instead of connecting to an existing Persistent Query, you can instead make a new temporary persistent query to host your worker.

session = session_mgr.connect_to_new_worker(name=None, heap_size_gb=1.0)

# We can run arbitrary script code
session.run_script('from deephaven import time_table\n'
                   'tt = time_table("PT1s").update("Remote=false")')

table = session.time_table(period=1000_000_000).update("Remote=true")
session.bind_table("remote", table)

session.close()

You can interact with the session through the Community Python API and view tables with the Deephaven Web UI. By default, the temporary queries are stopped and deleted after you close the session object.

Download files

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

Source Distribution

deephaven_coreplus_client-1.20240517.569.tar.gz (51.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file deephaven_coreplus_client-1.20240517.569.tar.gz.

File metadata

File hashes

Hashes for deephaven_coreplus_client-1.20240517.569.tar.gz
Algorithm Hash digest
SHA256 158ee5719e0e350d4f6eb08c3ddb6ae0bcbc56bf52793c0c22582c8d77b81ad2
MD5 584fea24ef0ef8b9934e93f8e297ce32
BLAKE2b-256 4c55395c7b9c35c82a09468bd3393ce993516c24e0efd26f6b92974ccb73bac0

See more details on using hashes here.

File details

Details for the file deephaven_coreplus_client-1.20240517.569-py3-none-any.whl.

File metadata

File hashes

Hashes for deephaven_coreplus_client-1.20240517.569-py3-none-any.whl
Algorithm Hash digest
SHA256 c6b8dd89999099d06f3ace954147ee8e2960c5fdcc59d6d39fa731641c09d4c5
MD5 82956518999c9933b52a097aa18a0828
BLAKE2b-256 dd160ac6034343aaacfb62eb8f6666a6f042a30156f9cb5f78785dcf24ffcc0d

See more details on using hashes here.

Release history Release notifications | RSS feed

2026.1.38

2 files

2026.1.34

2 files

2026.1.30

2 files

2026.1.25

2 files

This release

1.20240517.569 This release

2 files

1.20240517.566

2 files

1.20240517.565

2 files

1.20240517.559

2 files

1.20240517.556

2 files

1.20240517.554

2 files

1.20240517.553

2 files

1.20240517.545

2 files

1.20240517.539

2 files

1.20240517.538

2 files

1.20240517.535

2 files

1.20240517.533

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page