Skip to content

Add examples#1

Open
elijahpetty wants to merge 3 commits intomainfrom
add-example
Open

Add examples#1
elijahpetty wants to merge 3 commits intomainfrom
add-example

Conversation

@elijahpetty
Copy link
Collaborator

The accompanying doc will be in a deephaven-core PR.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds example code demonstrating three Python packaging scenarios for Deephaven applications: a library-only package, a CLI-only package, and a combined package. The examples show how to structure Python packages using modern packaging standards with pyproject.toml, implement CLI tools with Click, and create reusable Deephaven query functions.

Changes:

  • Added three complete example packages (my_dh_library, my_dh_cli, my_dh_toolkit) demonstrating different packaging approaches
  • Included sample CSV data files for testing the examples
  • Updated main README with comprehensive documentation on package structure, usage patterns, and troubleshooting

Reviewed changes

Copilot reviewed 34 out of 38 changed files in this pull request and generated 29 comments.

Show a summary per file
File Description
my_dh_library/* Library-only package with reusable Deephaven query and utility functions
my_dh_cli/* CLI-only package with command-line tools for CSV processing
my_dh_toolkit/* Combined package with both library functions and CLI tools
data/* Sample CSV files for testing the example packages
README.md Comprehensive documentation covering all three packaging scenarios and usage examples

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant