from mercury import TextInput, Select, Markdown Easily share your discoveries
greet = Select(label="Greetings",
choices=["Hello", "Cześć", "Ciao"])
name = TextInput(label="What is your name?") Markdown(f"""
## {greet.value} {name.value}! 👋
Easily share your discoveries with Mercury 🎉
""") Hello Aleksandra! 👋
Easily share your discoveries with Mercury 🎉
What is Mercury?
Section titled “What is Mercury?”Mercury is an open-source framework that makes it simple to share Python notebooks with non-technical users.
You write your analysis in a notebook; Mercury turns it into a clean, responsive web app with interactive widgets and no frontend code.
Our goal is to help people - especially in science, research, and data-heavy work - share their results easily ❤️
Why Mercury?
Section titled “Why Mercury?”No frontend required
Stay in Python and your notebook. Mercury takes care of the web layout, navigation, and styling automatically.
Rich interactive widgets
Build interactive apps with a wide library of widgets. When a widget value changes, cells below it are automatically recomputed — no callbacks to maintain.
Designed for non-technical users
Share results with colleagues who do not code. They get a simple, friendly web interface; you keep full control in Python.
Clean layout by default
Mercury gives your notebook a nice, consistent layout out of the box. You focus on the analysis, not on CSS or HTML.
Easy deployment
Run your app in Docker or deploy to our cloud with no complex setup. From notebook to shared app in minutes.
Live preview while you work
See a live preview of your app directly in MLJAR Studio or JupyterLab (via our extension). Adjust widgets and layout and instantly see the result.
How does Mercury work?
Section titled “How does Mercury work?”-
Create a notebook in Python
Use your usual environment: JupyterLab or MLJAR Studio. -
Add Mercury widgets
Insert widgets in your notebook cells. They are interactive and automatically trigger re-execution of cells below them. -
Preview your app live
Use the built-in extension to see how your notebook looks as a web app while you edit. -
Deploy with Docker or cloud
Package your notebook with Docker or use our cloud deployment. No complicated server setup needed.
How Mercury can be used?
Section titled “How Mercury can be used?”Research & Science
Turn your analysis into a simple, interactive application that your team or lab can use — no coding required.
Data Science & Analysis
Share dashboards with business users. Let them adjust parameters, run scenarios, and download results easily through a friendly web UI.
Education & Training
Create interactive teaching materials and exercises in notebooks, then present them as easy-to-use web apps.