Turn Notebook to Web App

Turn your Python Notebook into a Web App with the open-source Mercury framework.
Share your results with non-technical users.

Sign up for Cloud

Learn more

Create with

You don’t need to know frontend frameworks,
HTML, CSS or JavaScript.

All in pure Python without leaving Jupyter
Notebook.

The simplest framework

No callbacks!

Mercury automatically re-executes cells below updated widget.
You don’t need to write callbacks to handle widget update.

How does it work?

Don’t worry about layout

Widgets are in the sidebar and outputs will appear in the same order as in the notebook.

Check docs

“After changing to use Mercury framework, I get to simplify my code a lot without having to deal with the widget listeners and layout

Kuanmy

Software Developer

“Mercury
provides useful widgets so my apps are interactive, but with desired limits set since users can not edit the code. The layout provided by Mercury framework makes anyone feel comfortable because of its clean and flawless look. Knowing this framework made my collaborations much more efficient.

Katarzyna-Anna Bensch

Data Analyst

“Mercury seems to be very interesting. Just had a try today and was able to fire up a GUI within 10 minutes that would have taken me at least 2h using Panel. Really nice thing. “

Hugo Santos Silva

Data Engineer

Web Apps

Create data-rich web applications with interactive widgets

Reports

Build reports with automatic schedule and PDF export

Dashboards

Share your results with others in interactive dashboards

Websites

Easily turn notebooks into beautiful static websites

Presentations

Interactive slides that are recomputed during the show

Example Apps

Check example Apps created in Python notebook with Mercury

More examples

1

Start with Python Notebook

Python Notebook is a great tool to connect Markdown, Python code and outputs into meaningful documents.

However, sharing notebooks with others might be challenging!

Python Notebook

2

Make it interactive

Add widgets to you Python Notebook and make it interactive.

Install Mercury framework

Import Mercury and use widgets during development

import mercury as mr
 
text_input = mr.Text(label="What is your name?")

Check available widgets in docs

Input Widgets

Output Widgets

Add widgets

3

Run as Web App

Start Mercury Server and serve your notebook as Web App

Users can execute your code but they can’t edit it!

Mercury App

Hide or show code

You decide if you want to show or hide code in the app

Export PDF / HTML

Easily export the executed notebook as a PDF or HTML

Authentication

Decide with whom to share your notebooks

Multiple apps

You can share as many notebooks as you want

Embedding

Run notebook with Mercury and embed it on any website

Output files

Produce files in notebook and make them downloadable

Works great with

Basically every Python package!

Deployment

Easily put your notebooks over Internet

Mercury Cloud

Deployment as easy as file upload. Set custom domain and use secure connection.

Sign up

Self host

Configure your own server and deploy notebooks on your own infrastructure.

Read more

Yes, it is open-source!

Mercury is an open-source framework. It is available on AGPL v3 license.


We offer a commercial-friendly license with more features, dedicated support and private forks.

Mercury Pro Star on GitHub

Read More