Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deephaven/deephaven-client-examples
Deephaven Client Examples
https://github.com/deephaven/deephaven-client-examples
Last synced: 27 days ago
JSON representation
Deephaven Client Examples
- Host: GitHub
- URL: https://github.com/deephaven/deephaven-client-examples
- Owner: deephaven
- Created: 2022-07-18T17:21:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-18T18:47:05.000Z (over 2 years ago)
- Last Synced: 2023-03-04T02:38:50.906Z (almost 2 years ago)
- Language: Go
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 12
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deephaven Client Examples
This collection of client examples performs (roughly) the same operations
in several different client languages to compare their interfaces.The examples do not currently run, because some irrelevant code is omitted.
However, they do compile.## Python
Ensure a recent version of the pydeephaven package is installed.
```sh
$ cd ./python
$ python3 main.py
```## C++
First, build and install the C++ client packages according to `deephaven-core/cpp-client/README.md`.
Most of the build steps only need to be done once.
However, `CMAKE_PREFIX_PATH` must always be set appropriately when building the example.Then, edit `./cpp/CMakeLists.txt` where indicated to set the correct path for the client library.
```sh
$ cd ./cpp
$ mkdir build && cd build
$ cmake ..
$ make
$ ./example
```## Go
First, ensure you have the Go client present somewhere.
Since the Go client has not yet been officially released,
this requires checking out the `go-client-api` branch of
[this fork](https://github.com/SuperTails/deephaven-core).Then, edit `./go/go.mod` where indicated to set the correct path for the client library.
```sh
$ cd ./go
$ go mod tidy
$ go build
$ ./go_client_example
```