pydeephaven 0.8.0
pip install pydeephaven==0.8.0
Newer version available (0.39.6)
Released:
The Deephaven Python Client
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Other/Proprietary License (Deephaven Community License Agreement Version 1.0)
- Author: Deephaven Data Labs
- Requires: Python >3.7
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Project description
Deephaven Python Client
Deephaven Python Client is a Python package created by Deephaven Data Labs. It is a client API that allows Python applications to remotely access Deephaven data servers.
Source Directory
From the deephaven-core repository root
(clone from https://github.com/deephaven/deephaven-core)
$ cd pyclient
Dev environment setup
$ pip3 install -r requirements.txt
Build
$ python3 setup.py bdist_wheel
Run tests
$ python3 -m unittest discover tests
Run examples
$ python3 -m examples.demo_table_ops
$ python3 -m examples.demo_query
$ python3 -m examples.demo_run_script
$ python3 -m examples.demo_merge_tables
$ python3 -m examples.demo_asof_join
Install
$ pip3 install dist/pydeephaven-0.8.0-py3-none-any.whl
Quick start
>>> from pydeephaven import Session
>>> session = Session() # assuming Deephaven Community Edition is running locally with the default configuration
>>> table1 = session.time_table(period=1000000).update(formulas=["Col1 = i % 2"])
>>> df = table1.snapshot().to_pandas()
>>> print(df)
Timestamp Col1
0 1629681525690000000 0
1 1629681525700000000 1
2 1629681525710000000 0
3 1629681525720000000 1
4 1629681525730000000 0
... ... ...
1498 1629681540670000000 0
1499 1629681540680000000 1
1500 1629681540690000000 0
1501 1629681540700000000 1
1502 1629681540710000000 0
>>> session.close()
Related documentation
API Reference
[start here] https://deephaven.io/core/client-api/python/
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Other/Proprietary License (Deephaven Community License Agreement Version 1.0)
- Author: Deephaven Data Labs
- Requires: Python >3.7
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file pydeephaven-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: pydeephaven-0.8.0-py3-none-any.whl
- Upload date:
- Size: 71.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
02211b3683f60c202736d0e2881d1b1f27e07cc8668144695b882fbd96ffcc13
|
|
MD5 |
c4f168e3c3932d499006d7243dd9e60e
|
|
BLAKE2b-256 |
f4d6073c81e81e07ab90a283b7ca9315e273567b95873c9dc0afbf6cccb67255
|