Skip to main content

Python Server API v2 Release Candidate

· 2 min read
DALL·E prompt: Python sculpture made of gold in a lush jungle, digital art
Chip Kent
Cleaner, better, and more Pythonic

Based on user feedback, the Deephaven team has been hard at work improving the server-side Python experience. Today, we announce a release candidate for v2 of the Python server-side API.

API improvements include:

  • A more Pythonic feel
  • Cleaner API
  • Consistency with the client-side API
  • Pure python -- minimal jpy/Java objects exposed to users
  • Better documentation
  • Better unit testing
  • Better IDE autocompletion
  • Better modularization

For example:

t = left.naturalJoin(right, "A,B", "X,Y")

becomes:

t = left.natural_join(right, on=["A","B"], joins=["X","Y"])

After a comment period, the v2 API will become the default Python server-side API. After the official v2 release, the v1 API will continue to be supported, but it will not receive new features. This will provide Deephaven users time to leisurely port their v1 queries to v2.

We would love for you to try out the new API and give us feedback -- both positive and negative -- on the release candidate. The new API is available in the new Deephaven 0.10.0 release. Please share your thoughts in our Slack community, or GitHub general discussion.

note

A few features, such as plotting and calendars, are still in development and are not in the release candidate. These features will be completed before v2 is officially released.

References