Display HN: Turn Jupyter Notebook to interactive web app and portion without a-coders

Display HN: Turn Jupyter Notebook to interactive web app and portion without a-coders

Mercury

Mercury is the finest arrangement to flip your Python notebooks
into
interactive web applications and submit to the cloud

Step 1: Accomplish a notebook

  • Accomplish a Python notebook as phenomenal 🖥️
  • Set variables for tweaking in a separate code cell

Create notebook

Step 2: Add YAML config

  • Add YAML config in the most most principal RAW cell
  • Feature app title and outline
  • Add interactive widgets to notebook
  • Widget title must be the identical as variable 📝
---
title: My app title 🚀
description: Files app with many calculations
params:
    variable:
        input: textual sigh material 
        trace: Please present textual sigh material
---

Create notebook

Step 3: Delivery up Mercury

  • Delivery up Mercury server in the neighborhood
  • Easy expose: mercury bustle notebook.ipynb
  • The on-line app is working at http://127.0.0.1/

Start Mercury with command line

Step 4: Web App is prepared! 🚀

  • User can tweak widgets’ parameters
  • Click Bustle   to enact the notebook with new values
  • Notebook is accomplished from the tip to the underside

Web App is ready!

Widgets as YAML

Textual sigh material

variable_text:
    input: textual sigh material 
    trace: Right here's textual sigh material trace 
	charge: some textual sigh material

Text widget in Mercury

Clutch out

variable_select:
    input: blueprint end 
    trace: Right here's blueprint end trace 
	charge: Cześć
	selections: [Cześć, Hi, Hello]

Select widget in Mercury

Slider

variable_slider:
    input: slider 
    trace: Right here's slider trace 
    charge: 5
    min: 0
    max: 10

Slider widget in Mercury

File

variable_file:
    input: file 
    trace: Right here's file trace 

File upload widget in Mercury

Numeric

variable_numeric:
    input: numeric 
    trace: Right here's numeric trace 
	charge: 5.5
    min: 0.0
    max: 10.0
    step: 0.1

Numeric widget in Mercury

Checkbox

variable_checkbox:
    input: checkbox 
    trace: Right here's checkbox trace 
    charge: Correct

Checkbox widget in Mercury


📚 Test documentation

Mercury multiple notebooks apps

Succor a pair of notebooks

That you just would be succesful of most likely host limitless quantity of notebooks apps

  • Piece as many applications as you need
  • Use constructed-in application gallery

Display or conceal code 👀

That you just would be succesful of most likely serve a notebook with code for technical customers.

For non-programmers you would also conceal the code to no longer dread them 😉

It’s as easy as environment one parameter exhibit-code in the YAML

Mercury multiple notebooks apps

Mercury multiple notebooks apps

Mercury multiple notebooks apps

⬇️ Download accomplished notebook

  • User can tweak parameters and enact the notebook
  • The following notebook can even furthermore be downloaded as single HTML file 💾

Mercury multiple notebooks apps

🔑 Authentication

  • That you just would be succesful of most likely role who can concentrate to your notebooks
  • Succor a watch on notebook earn entry to with portion parameter in YAML
  • Accomplish customers in Admin Panel
  • Stable the reference to SSL

Piece notebook with chosen customers 👧👦

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

Piece notebook with authenticated customers fully 🔒

title: Secret app 
description: My app with secret 
portion: deepest
params:
    # widgets code ...

Embed interactive notebooks

That you just would be succesful of most likely embed your interactive notebooks on any web pages.

Below is embedded application fabricated from notebook

with calculator construct vs bewitch for Mercury commercial license.

Mercury multiple notebooks apps

Originate Source Core

The core of Mercury is Originate Source below AGPLv3.
We present Mercury Worthy with extra substances, dedicated beef up and expedient commercial license.

  • That you just would be succesful of most likely exercise Mercury OSS without cost
  • It’s easy to self-host on VPS
  • Test Mercury Worthy for more substances

Mercury multiple notebooks apps

Easy to deploy

Mercury web framework can even furthermore be without anguish deployed in production

  • Deploy to production by copying notebooks and necessities.txt to the server
  • Deploy with mercury bustle or docker-produce
  • HTTPS beef up with certificates from Let’s Encrypt

Mercury demo

Test the demo

Demo at
https://mercury.mljar.com

  • No must register
  • Demo working loads of notebooks-apps
  • Working on diminutive VPS (2GB RAM and 2 vCPUs)

Comming almost today substances

We are engaged on

  • Download accomplished notebook as PDF
  • Extra widgets (textual sigh material arena, file upload) Finished!
  • Authentication Finished!
  • Customers permissions Finished!
  • Scheduling
  • Electronic mail notifications

Whilst you would like characteristic seek files from please contact us.

Mercury demo

End in contact 📨

In expose for you to be notified about our products please subscribe to the newsletter.


This site makes exercise of cookies.
Whilst you proceed browsing our web pages, you to find these cookies.

Extra data
Settle for

Read More

Related Articles

CAR-T Cell Therapy market, Size and Share by 2035

Roots Analysis has done a detailed study on CAR-T cell therapies, covering key aspects of the industry’s evolution and identifying potential future growth opportunities. This report is an industry standard report and has been most awaited report from Roots Analysis.  SponsoredAdvertise with usCOGNAC MetaverseJoin World’s first photorealistic metaverse, developed in India! GDWC Finalist.https://thegdwc.com Key Market […]

The Art of Meeting Language Programming (1996)

Forward Why Would Anyone Learn This Stuff? 1. What’s Wrong With Assembly Language 2. What’s Right With Assembly Language? 3. Organization of This Text and Pedagogical Concerns 4. Obtaining Program Source Listings and Other Materials in This Text Section One: Machine Organization CHAPTER ONE: DATA REPRESENTATION 1.0 – Chapter Overview 1.1 – Numbering Systems 1.1.1…

What’s recent in Emacs 28.1?

By Mickey Petersen It’s that time again: there’s a new major version of Emacs and, with it, a treasure trove of new features and changes.Notable features include the formal inclusion of native compilation, a technique that will greatly speed up your Emacs experience.A critical issue surrounding the use of ligatures also fixed; without it, you…