← all repositories
mesop-dev/mesop

Google's internal Python UI framework escapes into the wild

A Python-native way to build web apps without touching JavaScript, born from Google's need for quick internal demos.

6.6k stars Python App Builders
mesop
Not currently ranked — collecting fresh signals.
star history

What it does

Mesop is a Python UI framework that generates web apps from pure Python code. You decorate functions with @me.page, compose UIs from Python functions, and skip the JavaScript/CSS/HTML stack entirely. It targets demos and internal tools — the kind of thing you’d hack together in a notebook but need to look like a real app.

The interesting bit

The framework is explicitly “used at Google for rapid internal app development” — this isn’t a hobby project with Google branding, but something that apparently solved enough real problems there to get open-sourced. The hot reload with state preservation is the kind of developer-experience detail that suggests people actually dogfooded this.

Key highlights

  • Reactive UI model in idiomatic Python; components are just functions
  • Hot reload that preserves state across browser refreshes
  • Strong IDE support and type safety (claims, not demonstrated in README)
  • mesop.labs submodule provides pre-built components like text_to_text for common AI-app patterns
  • Runs in Colab or locally with a single mesop main.py command

Caveats

  • “This is not an officially supported Google product” — the disclaimer is prominent, so don’t expect enterprise SLAs
  • README is thin on architecture details; unclear how it renders to the browser (WebAssembly? Server-side? A hidden JS layer?)
  • The 10-line demo is a toy echo app; no sense of how it handles complex state or custom styling

Verdict

Worth a spin if you’re a Python-heavy team building internal AI demos and want to stop duct-taping Streamlit. Skip it if you need production-grade frontend control or if your team already lives in React.

Frequently asked

What is mesop-dev/mesop?
A Python-native way to build web apps without touching JavaScript, born from Google's need for quick internal demos.
Is mesop open source?
Yes — mesop-dev/mesop is open source, released under the Apache-2.0 license.
What language is mesop written in?
mesop-dev/mesop is primarily written in Python.
How popular is mesop?
mesop-dev/mesop has 6.6k stars on GitHub.
Where can I find mesop?
mesop-dev/mesop is on GitHub at https://github.com/mesop-dev/mesop.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.