Turn Python notebooks to web applications with open-source Mercury framework. Hide code and add interactive widgets. Non-technical users can tweak widgets and execute notebook with new parameters.
The core of Mercury is Open Source under AGPLv3. We provide Mercury Pro with additional features, dedicated support and friendly commercial license.
--- title: My app title 🚀 description: Data app with many calculations params: variable: input: text label: Please provide text ---
mercury run notebook.ipynb
http://127.0.0.1/
variable_text: input: text label: This is text label value: some text
variable_select: input: select label: This is select label value: Cześć choices: [Cześć, Hi, Hello]
variable_slider: input: slider label: This is slider label value: 5 min: 0 max: 10
variable_file: input: file label: This is file label
variable_numeric: input: numeric label: This is numeric label value: 5.5 min: 0.0 max: 10.0 step: 0.1
variable_checkbox: input: checkbox label: This is checkbox label value: True
You can host unlimited number of notebooks apps
You can serve a notebook with code for technical users.
For non-programmers you can hide the code to not scare them ;)
It is as easy as setting one parameter show-code
in the YAML
share
parameter in YAML
title: Secret app description: My app with secret share: alice, bob params: # widgets code ...
title: Secret app description: My app with secret share: private params: # widgets code ...
You can embed your interactive notebooks on any website.
Below is embedded application made from notebook
with calculator build vs buy for Mercury commercial license.
Mercury web framework can be easily deployed in production
requirements.txt
to the servermercury run
or docker-composeDemo at https://mercury.mljar.com
Subscribe to our newsletter to receive product updates