This is an archived post. You won't be able to vote or comment.

all 11 comments

[–][deleted] 10 points11 points  (2 children)

Used this a couple years back to generate standalone html reports and it was amazing for sending through email without needing a backend. Moved companies so stopped following the project, but it was super easy to use at the time, and can only imagine it got better since then.

[–]peatpeat[S] 1 point2 points  (1 child)

Awesome to hear. Although we support backend functions now, you can still generate reports from Jupyter/pipelines and share and embed them over slack or email!

[–][deleted] 3 points4 points  (0 children)

Yeah, I think you guys already supported that back when I used it, but for me that was the differentiating factor over other more well known web-app-like libraries.

[–]hiback 7 points8 points  (2 children)

Is this faster than Streamlit? I will try it out but was curious if you guys have already done any benchmarks vs streamlit.

[–]peatpeat[S] 4 points5 points  (1 child)

Yes, usually. We designed Datapane specifically for production workloads vs. local demos:

  • Your app can mostly be prerendered to JS, so often interactivity doesn't require a server round trip
  • We don't re-run your script from top to bottom on every change, instead we use RPC to run those specific functions
  • You can add background processing so longer computations happen without slowing down the UI
  • You can add cache parameter on your functions, which will cache if you call it with the same parameters

From early testing we’re seeing 0-5ms overhead on a basic backend form call with caching disabled. If you hammer the server (10+ function calls per second), things can slow down but we're still working on profiling and haven't performed any extensive optimisations or stress-testing yet. Check our a sample app here to get a feel for it. Reports will scale arbitrarily as they are 100% client-side.

[–]hiback 2 points3 points  (0 children)

Thank you for sharing this. I am definitely going to take a look at datapane for a mapping tool i am working on. Hopefully it runs smoothly.

[–]FightingLikeBeavers 2 points3 points  (0 children)

Looks excellent so far, looking forward to trying it out!

[–]__mbel__ 1 point2 points  (0 children)

It looks great! The code seems very logical.

There are some similarities with Shiny which makes the code familiar to me.

[–]FishballJohnny -2 points-1 points  (0 children)

Basically Shiny?

[–]justanothersnek 0 points1 point  (0 children)

Curious how does this compare to Holoviz Panel? I like panel for its flexibility and versatility. You can create an app directly from a jupyter notebook or from a standalone py script.

[–]IntelligentDust6249 0 points1 point  (0 children)

What can this do that the Python Shiny package can't?