Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

mesop

> 编程语言
Open source

Rapidly build AI apps in Python

6.6K stars0 likes1 views
WebsiteGitHub

About

Rapidly build AI apps in Python

Mesop: Build delightful web apps quickly in Python

[!WARNING] Mesop is no longer maintained as of September 30, 2026. No further updates, bug fixes, or support will be provided.

  • If you're interested in learning how to use Mesop, please read our main docs.

  • If you're interested in contributing to the core Mesop framework, please read our contributing guide.

Used at Google for rapid internal app development

Mesop is a Python-based UI framework that allows you to rapidly build web apps like demos and internal apps:

Intuitive for UI novices ✨

  • Write UI in idiomatic Python code
  • Easy to understand reactive UI paradigm
  • Ready to use components

Frictionless developer workflows ️

  • Hot reload so the browser automatically reloads and preserves state
  • Rich IDE support with strong type safety

**Flexible for delightful demos **

  • Build custom UIs without writing Javascript/CSS/HTML
  • Compose your UI into components, which are just Python functions

Write your first Mesop app in less than 10 lines of code...

Demo app

python
import mesop as me
import mesop.labs as mel

@me.page(path="/text_to_text", title="Text to Text Example")
def app():
  mel.text_to_text(
    upper_case_stream,
    title="Text to Text Example",
  )

def upper_case_stream(s: str):
  return "Echo: " + s.capitalize()

Try it

Colab

You can try Mesop on Colab!

Locally

Step 1: Install it

bash
pip install mesop

Step 2: Copy the example above into main.py

Step 3: Run the app

bash
mesop main.py

Learn more in Getting Started.

Reporting a security issue

If you identify a security vulnerability with Mesop, please file a GitHub security issue and we will promptly respond to it.

Disclaimer

This is not an officially supported Google product.

Issues· 109 open

View all issuesOpen on GitHub
  • #1392

    Improve WebSocket probe to support non-redirect behaviours of corporate proxies

    Updated May 7, 2026
  • #1388

    Deploy to showcase action not working anymore

    bugUpdated Apr 26, 2026
  • #1312

    Chrome ERR_NETWORK_CHANGED error can cause loading bar to keep going and it won't reset

    bugUpdated Jan 22, 2026
  • #1175

    Add a way to push data to Mesop client when using Web Sockets.

    feature requestUpdated Jan 18, 2026
  • #1264

    When Mesop WebSocket lose connection and reconnects, state is lost.

    bugUpdated Jan 18, 2026
  • #758

    Don't strip out query param for absolute URL navigations

    bugvotes neededUpdated Nov 23, 2025
  • #1309

    me.navigate() in page load does not work some time

    bugUpdated Nov 12, 2025
  • #1289

    Add protobuf json serialization support to MesopJSONEncoder

    Updated Jun 2, 2025
  • #1279

    Add on_blur trigger for Autocomplete component

    Updated May 2, 2025
  • #1280

    Custom Classes for individual Components

    Updated May 2, 2025

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 24, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言