[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-71101":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},71101,"mesop","mesop-dev\u002Fmesop","mesop-dev","Rapidly build AI apps in Python","https:\u002F\u002Fmesop-dev.github.io\u002Fmesop\u002F",null,"Python",6578,344,37,92,0,3,7,48,9,77.91,"Apache License 2.0",false,"main",true,[],"2026-06-12 04:00:59","# Mesop: Build delightful web apps quickly in Python 🚀\n\n[![PyPI](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fmesop)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fmesop\u002F)\n[![PyPI downloads](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fdm\u002Fmesop)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fmesop\u002F)\n[![Twitter follow](https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Fmesop_dev?style=social&label=follow)](https:\u002F\u002Ftwitter.com\u002Fmesop_dev)\n\n- If you're interested in learning how to use Mesop, please [read our main docs](https:\u002F\u002Fmesop-dev.github.io\u002Fmesop\u002F).\n\n- If you're interested in contributing to the core Mesop framework, please [read our contributing guide](https:\u002F\u002Fmesop-dev.github.io\u002Fmesop\u002Finternal\u002Fcontributing\u002F).\n\n### Used at Google for rapid internal app development\n\nMesop is a Python-based UI framework that allows you to rapidly build web apps like demos and internal apps:\n\n**Intuitive for UI novices ✨**\n\n- Write UI in idiomatic Python code\n- Easy to understand reactive UI paradigm\n- Ready to use components\n\n**Frictionless developer workflows 🏎️**\n\n- Hot reload so the browser automatically reloads and preserves state\n- Rich IDE support with strong type safety\n\n**Flexible for delightful demos 🤩**\n\n- Build custom UIs _without_ writing Javascript\u002FCSS\u002FHTML\n- Compose your UI into components, which are just Python functions\n\n## Write your first Mesop app in less than 10 lines of code...\n\n[Demo app](https:\u002F\u002Fmesop-dev.github.io\u002Fmesop\u002Fdemo\u002F?demo=text_to_text)\n\n```python\nimport mesop as me\nimport mesop.labs as mel\n\n\n@me.page(path=\"\u002Ftext_to_text\", title=\"Text to Text Example\")\ndef app():\n  mel.text_to_text(\n    upper_case_stream,\n    title=\"Text to Text Example\",\n  )\n\n\ndef upper_case_stream(s: str):\n  return \"Echo: \" + s.capitalize()\n```\n\n\u003C\u002Fdiv>\n\n## Try it\n\n### Colab\n\nYou can try [Mesop on Colab](https:\u002F\u002Fcolab.research.google.com\u002Fgithub\u002Fmesop-dev\u002Fmesop\u002Fblob\u002Fmain\u002Fnotebooks\u002Fmesop_colab_getting_started.ipynb)!\n\n### Locally\n\n**Step 1:** Install it\n\n```sh\npip install mesop\n```\n\n**Step 2:** Copy the example above into `main.py`\n\n**Step 3:** Run the app\n\n```sh\nmesop main.py\n```\n\nLearn more in [Getting Started](https:\u002F\u002Fmesop-dev.github.io\u002Fmesop\u002Fgetting-started\u002Finstalling\u002F).\n\n## Reporting a security issue\n\nIf you identify a security vulnerability with Mesop, please file a [GitHub security issue](https:\u002F\u002Fgithub.com\u002Fmesop-dev\u002Fmesop\u002Fsecurity\u002Fpolicy) and we will promptly respond to it.\n\n## Disclaimer\n\n_This is not an officially supported Google product._\n","Mesop 是一个基于 Python 的 UI 框架，旨在帮助开发者快速构建 Web 应用程序。它通过使用 Python 代码来编写界面，为不熟悉 UI 开发的用户提供了直观易懂的响应式编程范式，并且内置了丰富的组件库。Mesop 支持热重载功能，可以自动刷新浏览器并保持状态，同时提供强大的 IDE 支持和类型安全性，极大地提高了开发效率。此外，该框架允许开发者无需编写 JavaScript、CSS 或 HTML 即可创建自定义界面，非常适合用于快速原型设计或内部工具开发等场景。",2,"2026-06-11 03:35:54","high_star"]