~/talk

Turning notebook into a web app with Mercury

Talkat PyData NYC 2023 · 2023-11-01..11-03· [python, developer-experience]
name:Płońska
links:none on file
name:Płoński
links:none on file
slides:none on file

Claims that MERCURY turns a Jupyter Notebook into a working web app, report, dashboard and interactive slideshow with no frontend code; demo uses pandas, Altair, Plotly, Vega datasets and MLJar automl (noting automl has ~1 million downloads). Widgets live in a left sidebar, changing a widget re-executes cells below it, outputs become downloadable files, slides go full screen, and deployment options include Docker, self‑host, Hugging Face Spaces and a Mercury cloud with auth and secrets — demos run live.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Convert notebooks to web apps
  3. 4:42Mercury’s UI approach
  4. 5:52Setup Mercury project
  5. 9:20Starter notebook
  6. 10:49Turn notebook into web app
  7. 13:20Serve notebook with Mercury
  8. 16:32Live updates and widgets
  9. 18:26Customize app appearance
  10. 19:51Control widget updates
  11. 20:57Share static notebooks
  12. 21:41Hide/show sidebar
  13. 23:09Local vs cloud deployment
  14. 23:31Download files from apps
  15. 26:09Interactive presentations
  16. 33:17Plot with Altair/Plotly
  17. 36:13Set widget values via URL
  18. 37:54Mercury widgets overview
  19. 39:02Key features for web apps
  20. 40:28Deployment options
  21. 41:08Deploy to Mercury Cloud
  22. 42:53Upload notebooks to cloud
  23. 44:24Adding authentication to Mercury apps
  24. 45:30Call external APIs
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.