awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mesop-dev avatar

mesop-dev/mesop

0
View on GitHub↗
6,589 星标·344 分支·Python·Apache-2.0·7 次浏览mesop-dev.github.io/mesop↗

Mesop

Mesop is a stateful, declarative Python web UI framework and component library designed for building interactive web applications and AI demos. It allows for the construction of data-driven interfaces and chat systems using only Python, removing the need to write separate HTML or CSS.

The framework is specifically tailored for AI application development, offering dedicated tools for conversational UI design and the creation of dashboards for large language model applications. It distinguishes itself with a visual UI editor for real-time property adjustments and the ability to embed custom JavaScript web components for extended frontend behavior.

The platform covers a broad range of capabilities including persistent session state management, multi-page application routing, and incremental UI streaming via generators. It also provides specialized components for interactive data tables and chat interfaces, alongside developer productivity tools like hot reloading.

Deployment utilities are included for containerization, cloud platform hosting, and reverse proxy routing configuration.

Features

  • Python-Based UI Frameworks - Enables the creation of entire web interfaces using only high-level Python functions without HTML or CSS.
  • Client-Server State Synchronization - Provides a framework for synchronizing server-side state with the client-side browser view without full page reloads.
  • AI Application Frameworks - Provides a framework specifically for building interactive web interfaces tailored for AI models.
  • UI Stream Generators - Uses Python generators to push incremental interface updates to the browser in real-time.
  • Server-Side Session Stores - Tracks application data on the server and synchronizes changes to the browser via a persistent state store.
  • Stateful Session Persistence - Maintains persistent user session data across interactions using serializable classes.
  • Server-Side Interaction Callbacks - Provides mechanisms to map client-side UI events to specific Python function execution on the server.
  • Application State Management - Tracks and updates user data through state objects to control the interface flow and reflect real-time changes.
  • Conversational UI Kits - Offers pre-built interface elements for creating chat histories and dialogue systems with streaming responses.
  • Declarative UI Libraries - Implements a system for defining user interfaces as a tree of components using declarative Python syntax.
  • Chat Interface Components - Provides prebuilt components for conversational history and text input to facilitate bot-user dialogues.
  • User Event Handlers - Triggers server-side Python logic in response to user interactions with specific keyed UI elements.
  • Multi-Page Application Frameworks - Supports the definition of multiple URL paths mapped to Python functions to create structured multi-page applications.
  • Declarative UI Frameworks - Allows the construction of interactive web applications and logic using a single high-level declarative Python syntax.
  • Python Data Dashboard Frameworks - Facilitates the construction of data-driven web pages and dashboards using Python-based state and event handling.
  • Incremental Content Streaming - Uses Python generators to push incremental UI updates to the browser as data is produced.
  • Interactive Table Rendering - Renders data frames as interactive tables with sticky headers, columns, and clickable cells.
  • Hot Code Reloading - Automatically refreshes the browser during development to display code updates without losing application state.
  • Rapid Prototyping Environments - Enables rapid prototyping of web apps via declarative syntax and a hot-reload preview.
  • Widget Tree Reconciliation - Implements a reconciliation mechanism that updates the browser view by diffing server-side and client-side component trees.
  • Custom Element Definitions - Allows for the definition of custom HTML elements using JavaScript and CSS for tailored visual appearances.
  • Custom Components - Allows embedding custom JavaScript web components into Python applications to extend frontend behavior.
  • Slot-Based Layouts - Positions child components into predefined areas of a parent container using a named-slot system.
  • Custom Layouts - Provides a flexible layout system for creating custom designs by combining primitives and pre-built elements.
  • Reusable UI Components - Organizes interface elements into reusable functions and slots to simplify complex layout construction.
  • Visual Property Editors - Features a visual editor for adjusting component properties and adding elements to the UI in real time.
  • Client-Side Scripting - Enables browser-based logic execution to handle stateful interactions and improve responsiveness by reducing network roundtrips.
  • Component Composition - Enables the construction of reusable interface elements by nesting custom functions or combining native components.
  • Page Load Logic Hooks - Runs specific data processing and state mutations upon page load to prepare the initial user interface.
  • UI Component Libraries - Supplies a collection of reusable UI primitives and layout elements for composing web pages.
  • Web Components - Supports embedding custom HTML elements that execute client-side JavaScript with two-way server communication.

Star 历史

mesop-dev/mesop 的 Star 历史图表mesop-dev/mesop 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

mesop-dev/mesop 是做什么的?

Mesop is a stateful, declarative Python web UI framework and component library designed for building interactive web applications and AI demos. It allows for the construction of data-driven interfaces and chat systems using only Python, removing the need to write separate HTML or CSS.

mesop-dev/mesop 的主要功能有哪些?

mesop-dev/mesop 的主要功能包括:Python-Based UI Frameworks, Client-Server State Synchronization, AI Application Frameworks, UI Stream Generators, Server-Side Session Stores, Stateful Session Persistence, Server-Side Interaction Callbacks, Application State Management。

mesop-dev/mesop 有哪些开源替代品?

mesop-dev/mesop 的开源替代品包括: lit/lit — Lit is a library for building lightweight, interoperable web components. It provides a base class that leverages… pywebio/pywebio — PyWebIO is a Python web application framework and script-based UI library that allows the construction of interactive… day8/re-frame — re-frame is a functional framework for building single-page applications in ClojureScript. It provides a centralized,… microsoft/fast — FAST is a web components framework and declarative UI library used to build adaptive user interfaces. It functions as… vuejs/vue — Vue is a progressive, component-based JavaScript framework designed for building reactive user interfaces and… pynecone-io/pynecone — Pynecone is a full-stack web framework and application platform that enables the development of complete web…

Mesop 的开源替代方案

相似的开源项目,按与 Mesop 的功能重合度排序。
  • lit/litlit 的头像

    lit/lit

    21,679在 GitHub 上查看↗

    Lit is a library for building lightweight, interoperable web components. It provides a base class that leverages native browser APIs to encapsulate state, logic, and styles, allowing developers to create custom elements that function consistently across any modern web project. The framework distinguishes itself through a reactive property system that automatically triggers efficient, batched DOM updates. By utilizing tagged template literals, it defines declarative UI structures that are compiled into optimized update instructions. Its architecture emphasizes modularity through a reactive con

    TypeScripthtml-templateslitlit-element
    在 GitHub 上查看↗21,679
  • pywebio/pywebiopywebio 的头像

    pywebio/PyWebIO

    4,817在 GitHub 上查看↗

    PyWebIO is a Python web application framework and script-based UI library that allows the construction of interactive web interfaces without writing HTML, CSS, or JavaScript. It treats the web browser as a rich terminal, translating Python function calls into UI elements and capturing user input through a synchronous request-response loop. The framework functions as an asynchronous web app server that executes user sessions as coroutines to handle multiple concurrent interactions on a single thread. It also serves as a data visualization interface, enabling the direct rendering of interactive

    Pythonpywebio
    在 GitHub 上查看↗4,817
  • day8/re-frameday8 的头像

    day8/re-frame

    5,532在 GitHub 上查看↗

    re-frame is a functional framework for building single-page applications in ClojureScript. It provides a centralized, immutable database that serves as the single source of truth for the entire application state, enforcing a strict unidirectional data flow where events trigger state transitions and subsequent view updates. The framework distinguishes itself through a reactive signal graph and an interceptor-based middleware pipeline. By treating application logic as a sequence of data-driven events and declarative side effects, it decouples business logic from the view layer. This architectur

    Clojureclojurescriptre-framereact
    在 GitHub 上查看↗5,532
  • microsoft/fastmicrosoft 的头像

    microsoft/fast

    9,661在 GitHub 上查看↗

    FAST is a web components framework and declarative UI library used to build adaptive user interfaces. It functions as a server-side rendering engine and design system implementation, enabling the creation of modular components based on web standards. The framework focuses on cross-framework component compatibility, allowing user interface elements to remain functional across different front-end frameworks and modern browsers. It implements a design language through a collection of pre-defined visual components to ensure consistency across professional applications. The system covers state-dr

    TypeScript
    在 GitHub 上查看↗9,661
  • 查看 Mesop 的所有 30 个替代方案→