Home

Used at Google for rapid internal app development Quickly build web UIs in Python

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

Easy to get started Write UI in idiomatic Python code

Skip the FE learning curve.

Ready to use components (e.g. chat) Fast iteration Hot reload so the browser automatically reloads and preserves state

so the browser automatically reloads and preserves state Rich IDE support with strong type safety Flexible & composable Build custom UIs without writing Javascript/CSS/HTML

Compose your UI into components, which are just Python functions

See what you can build in less than 10 lines of code...

Check out how the above demo gallery was built in pure Mesop!

Try it

Colab

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.

Disclaimer

This is not an officially supported Google product.