Interactive Web Apps with Jupyter and Mercury
Build and publish web apps from Jupyter Notebooks with Mercury and Mercury Cloud
Mercury lets you convert your Jupyter Notebooks into fully interactive web applications.
You can create interactive widgets like buttons, select boxes and so on in the notebook and these will be displayed in a sidebar in the converted web app - you can see an example, above, with a select box and a slider.
When Heroku had a free offering, that was the preferred method of deploying Mercury apps to the web. Unfortunately, that option is no longer available - Heroku is a paid-for service only these days.
So, Mercury decided to produce their own platform for deployment - Mercury Cloud - which provides a point-and-click interface for publishing your apps. There is a free starter plan that allows you a single website (but multiple apps) or more generous paid-for plans.
So, my offering for you today is two articles. The first describes how to develop an interactive web app with Jupyter and Mercury and the second is a short introduction on how to deploy an app to the Mercury Cloud. Both are published on Medium but the ‘friend links’ below are not paywalled.
Build a Web App with Jupyter and Mercury
How to Publish Your Jupyter Notebook Apps with Mercury Cloud
I may have mentioned this before but I’ve written an eBook called Streamlit from Scratch which for a limited time you can download for $1. It replaces the website of the same name (as it is easier to maintain) and the idea is that once you have purchased it you will be able to download newer updated versions for free. Read about it here.