Streamz unsupported

Unfortunately, the streamz module is no longer supported and when importing hvplot.streamz it throws a deprecation warning.

import hvplot.streamz

.venv\Lib\site-packages\streamz\plugins.py:3: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources

There has been some discussion in the streamz issues about using pn.rx as a replacement but that does not address the issue of streaming data coming from an external source.

I use hvplot & streamz in my dashboards to create real time displays similar to the video below. The code for this is on a previous panel topic.

What does hvplot devs / users recommend as an alternative to streamz?

Would it be possible to just use yield generator? Update Progressively — Panel v1.8.2
Add Interactivity with pn.bind — Panel v1.8.2

1 Like

Hey @killcoder, I don’t think we have yet an answer to that. It’s unfortunate streamz isn’t supported and there are no better alternatives. In fact HoloViews recently deprecated the Streamz interface (Releases — HoloViews v1.21.0), which means that unless things change hvPlot should also deprecate Streamz support soon. I have to say, I’m not super happy with us removing support for that without having a clear alternative. Any help in this whole streaming area is most welcome!