qmetrics.net

NiceGUI

Python framework for browser-based graphical interfaces

NiceGUI screenshot

NiceGUI lets you build web UIs in pure Python with buttons, charts, maps, and dialogs, served to a browser or native window.

Overview

NiceGUI is a Python UI toolkit that renders interactive pages in the user’s browser while keeping application logic on the server. You declare labels, inputs, tables, charts, 3D scenes, maps, media, and layout primitives in Python; the framework bridges them to a Vue and Quasar frontend over FastAPI, Starlette, and Uvicorn with socket.io updates.

It can run as a normal web server accessed at a local port or in native mode that opens a desktop window. Code changes trigger automatic page reload during development. Built-in timers, data binding, refreshable functions, notifications, dialogs, routing, persistence, and multi-page patterns support dashboards, robotics tools, smart-home panels, and small internal apps without writing HTML, CSS, or JavaScript.

Styling uses Tailwind CSS and Quasar theming, including dark mode and custom accent colors. Distribution options include PyPI, conda-forge, Docker images, and running the project’s own documentation site locally via Docker. A pytest-based testing helpers ship with the package.

Architecturally, NiceGUI keeps a single async worker, batches UI diffs through an outbox, and routes UI events back into Python callables over a persistent WebSocket after the initial page load.

Key features

  • Pure Python UI definition
  • FastAPI and Vue/Quasar stack
  • Charts, maps, and 3D scenes
  • Auto reload on code edits
  • Native window or browser mode
  • Multi-page routing support
  • Dark mode and theming
  • Docker and PyPI distribution

Use cases

  • Internal dashboards
  • Robotics control panels
  • ML tuning interfaces
  • Smart home dashboards
  • Quick micro web apps

Tags

Similar software

Astro

JavaScript web framework for content-driven sites

Astro builds content sites, web apps, and server APIs with server-first rendering, optional UI islands, and integrations for major frameworks.

★ 64.3k⟳ todayMIT

Nuxt

Full-stack Vue framework for web applications

Nuxt builds type-safe Vue apps with file routing, multiple render modes, server directory APIs, and a large module ecosystem.

★ 61.1k⟳ todayMIT

Gatsby

React-based framework for fast content-driven sites

Gatsby is a React framework for building websites and apps, blending static generation with dynamic React capabilities. It pulls data from markdown, CMSs, and APIs through a unified GraphQL layer.

★ 55.9k⟳ 18 days agoMIT

Bulma

Flexbox-based modular CSS component framework

Bulma supplies ready-made responsive UI components as CSS only, without bundled JavaScript. You import or link its stylesheet and combine classes to build layouts.

★ 50k⟳ 4 days agoMIT
Frameworks & PlatformsDesktop/CLI app

uni-app

Vue-based framework shipping one codebase to many platforms

uni-app lets developers write Vue.js front ends once and publish to mobile, web, mini-program, and quick-app targets from a single project.

★ 41.7k⟳ yesterdayApache-2.0

ToolJet

Open-source low-code platform for internal business applications

ToolJet lets teams build admin panels, dashboards, and operational apps on existing databases and APIs. Create with a visual builder, prompts, or coding agents via MCP, then self-host or use cloud.

★ 41.3k⟳ todayAGPL-3.0
Open Source Alternative to:RetoolSuperblocks