131 points · by pplonski86 · 3y ago · 31 comments
- you can show or hide your code,
- your users can easily export executed notebook to PDF/HTML,
- there is built-in authentication,
- you can produce files in the notebook and make them downloadable,
- you can share multiple notebooks.
We also care about deployment simplicity. That's why we created a shared hosting service called Mercury Cloud. You can deploy notebook by uploading a file. Below clickable links:
The GitHub repository https://github.com/mljar/mercury
Documentation https://RunMercury.com/docs/
Mercury Cloud https://cloud.runmercury.com
Mercury, in my view, seems really interesting for quick demos and reports. It's somewhat akin to Streamlit, making it ideal for notebook authors.
On the other end of the spectrum (and pardon my shameless plug here), there's Solara (https://github.com/widgetti/solara/). Solara is a fully-fledged web framework for Python, specifically designed to handle app sizes that surpass what Streamlit and Dash can manage. It's worth noting that Solara can render ipywidgets, using a pure Python React-like framework. This can be particularly useful after the exploration phase, when you're looking to transition a project from the notebook into production.
I think what sets Solara apart from the rest is that we use a 10 year proven paradigm, React, but on the Python side, although with a more Pythonic API. For instance making reusable components in Python is a real benefit. Pynecone uses ReactJS in the front end, but on the Python side it’s their own API.
I do like pynecone, their API is pretty. I do wonder with many of these frameworks. Does the paradigm works for more complex apps, or does it end in complexity hell once you go past the hello world examples. At least React has proven itself.
Voila is the obvious competitor to this. There are also different oranges and apples such as Dash, Streamlit, Panel: https://anaconda.cloud/dashboardlandscape - obviously Anaconda is a bit biased here.
I suppose the biggest limitation to Mercury is the limited number of widgets. Good for quick demos.
Also deployment is a bit unclear at the moment - I wonder how easy it is to keep Mercury deployed in a separate Docker container - that is I do not want to keep random ports open on my notebook server.
Then again probably deployment/hosting is how Mercury expects to make some money.
We hope to extend widgets offering in the near future.
You are right. We are working on Mercury Cloud service where you can just upload notebook to deploy it. We have free and paid plans. But you can also self-host Mercury with docker-compose.
- Mercury has no callbacks - we automatically re-execute cells below updated widget,
- Mercury has no layout widgets, all input widgets are always in the left sidebar and output content appear in the same order as in notebook.
Thanks to above decisions you don't need to rewrite your notebook to fit UI framework paradigms.
Humbly recommend when you share a product, you include a link to it ;)
Humbly recommend you share a link to a product when you share it ;)
The other thing, I'd really like is being able to have multiple simultaneous editors of a single notebook so we can all jam on it on at the same time ala Google Docs.
Just FYI, the layout in the “deployment” box near the bottom of the splash page is very shrunken on iPhone - so narrow that there’s basically one character width.
I wish developers care more about non chrome users.