mesop README

The project's README from github.com/mesop-dev/mesop. As one markdown file: README.md.

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.

PyPI PyPI downloads Twitter follow

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 ✨

Frictionless developer workflows 🏎️

Flexible for delightful demos 🤩

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

Demo app

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

pip install mesop

Step 2: Copy the example above into main.py

Step 3: Run the app

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.

mesop (mesop-dev/mesop)

Searching Database…

6.6K ·GitHub
archived
What is this?Mesop is a Python-based UI framework for rapidly building web apps like demos and internal apps — it has been used at Google for rapid internal app development.
Do I need to know JavaScript, CSS or HTML to build the UI?No — it is a Python UI framework: the whole interface is written in idiomatic Python, and your custom components are just Python functions.
How do I get a first app running?Install the package with pip, copy the starter example into main.py and run the app — the README's local quickstart is exactly these three steps.
Do I need anything besides Python to try it?No — it is a pip-installable Python package you run locally, and if you want to skip installing entirely you can try Mesop in a Colab notebook in the browser.
Is Mesop still maintained?No. It is archived: Mesop is no longer maintained as of September 30, 2026 — no further updates, bug fixes or support will be provided.
Is it meant for quick internal tools or polished public products?Demos and internal apps rather than polished public products — it was used at Google for rapid internal app development and is designed to be intuitive even for UI novices.
What does the developer workflow look like while I'm coding?Frictionless: the browser hot-reloads automatically and preserves state between reloads, and you get rich IDE support with strong type safety.
Can I build my own components?Yes — you compose your UI into components, which are just Python functions, and ready-to-use components ship out of the box.
Is this an official Google product?No — the README carries a disclaimer that this is not an officially supported Google product, even though it is used at Google for rapid internal app development.
How much code does a first Mesop app take?Less than 10 lines of Python — the README's starter example fits in under 10 lines of code.
What are similar projects?core, compose-multiplatform, vue, ember.js, yew, reflex, svelte, Skeleton
Creator
mesop-dev
Size
13.7 MB
Stars
6.6K
Age
3y
Commits · 90 Days