Level to HN: Convert Jupyter Notebook to interactive web app with out coding


That is the dapper addon ever!!


Mercury is the highest intention to flip your Python notebooks
interactive web functions and undergo the cloud

Step 1: Invent a notebook

  • Invent a Python notebook as frequent 🖥️
  • Set variables for tweaking in a separate code cell

Create notebook

Step 2: Add YAML config

  • Add YAML config in the first RAW cell
  • Plan app title and outline
  • Add interactive widgets to notebook
  • Widget title ought to be the equivalent as variable 📝
title: My app title 🚀
description: Knowledge app with many calculations
        input: textual exclaim 
        sign: Please present textual exclaim

Create notebook

Step 3: Commence Mercury

  • Commence Mercury server in the neighborhood
  • Straightforward checklist: mercury urge notebook.ipynb
  • The salvage app is running at

Start Mercury with command line

Step 4: Net App is ready! 🚀

  • User can tweak widgets’ parameters
  • Click Speed   to enact the notebook with contemporary values
  • Notebook is finished from the head to the bottom

Web App is ready!

Widgets as YAML

Textual exclaim

    input: textual exclaim 
    sign: That is textual exclaim sign 
	label: some textual exclaim

Text widget in Mercury

Procure out

    input: set up 
    sign: That is set up sign 
	label: Cześć
	decisions: [Cześć, Hi, Hello]

Select widget in Mercury


    input: slider 
    sign: That is slider sign 
    label: 5
    min: 0
    max: 10

Slider widget in Mercury


    input: file 
    sign: That is file sign 

File upload widget in Mercury


    input: numeric 
    sign: That is numeric sign 
	label: 5.5
    min: 0.0
    max: 10.0
    step: 0.1

Numeric widget in Mercury


    input: checkbox 
    sign: That is checkbox sign 
    label: Just

Checkbox widget in Mercury

📚 Take a look at documentation

Mercury multiple notebooks apps

Attend extra than one notebooks

It is probably going you’ll perchance per chance host unlimited different of notebooks apps

  • Portion as many functions as you will want
  • Use constructed-in utility gallery

Level to or veil code 👀

It is probably going you’ll perchance per chance support a notebook with code for technical users.

For non-programmers you may perchance veil the code to no longer scare them 😉

It is miles as easy as environment one parameter convey-code in the YAML

Mercury multiple notebooks apps

Mercury multiple notebooks apps

Mercury multiple notebooks apps

⬇️ Download finished notebook

  • User can tweak parameters and enact the notebook
  • The resulting notebook would per chance be downloaded as single HTML file 💾

Mercury multiple notebooks apps

🔑 Authentication

  • It is probably going you’ll perchance per chance build who can behold your notebooks
  • Put an eye on notebook entry with fragment parameter in YAML
  • Invent users in Admin Panel
  • Stable the connection with SSL

Portion notebook with selected users 👧👦

title: Secret app 
description: My app with secret 
fragment: alice, bob
    # widgets code ...

Portion notebook with authenticated users finest 🔒

title: Secret app 
description: My app with secret 
fragment: private
    # widgets code ...

Embed interactive notebooks

It is probably going you’ll perchance per chance embed your interactive notebooks on any web page.

Below is embedded utility fabricated from notebook

with calculator fabricate vs salvage for Mercury commercial license.

Mercury multiple notebooks apps

Originate Source Core

The core of Mercury is Originate Source below AGPLv3.
We present Mercury Professional with extra aspects, dedicated abet and pleasurable commercial license.

  • It is probably going you’ll perchance per chance utilize Mercury OSS completely free
  • It is miles uncomplicated to self-host on VPS
  • Take a look at Mercury Professional for added aspects

Mercury multiple notebooks apps

Straightforward to deploy

Mercury web framework would per chance be simply deployed in production

  • Deploy to production by copying notebooks and necessities.txt to the server
  • Deploy with mercury urge or docker-manufacture
  • HTTPS abet with certificates from Let’s Encrypt

Mercury demo

Take a look at the demo

Demo at

  • No have to register
  • Demo running several notebooks-apps
  • Running on tiny VPS (2GB RAM and a pair of vCPUs)

Comming soon aspects

We’re working on

  • Download finished notebook as PDF
  • Extra widgets (textual exclaim field, file upload) Carried out!
  • Authentication Carried out!
  • Users permissions Carried out!
  • Scheduling
  • Email notifications

If you may perchance per chance furthermore have characteristic quiz please contact us.

Mercury demo

Put in contact 📨

So as for you to be notified about our merchandise please subscribe to the e-newsletter.

This field makes utilize of cookies.
If you continue having a behold our web page, you gather these cookies.

Extra info

Read More
Portion this on knowasiak.com to consult with folks on this topicTag in on Knowasiak.com now if you are no longer registered yet.

Charlie Layers

Charlie Layers

Fill your life with experiences so you always have a great story to tellBio: About: