textual VS nicegui

Compare textual vs nicegui and see what are their differences.

textual

The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser. (by Textualize)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
textual nicegui
149 179
23,495 7,298
2.0% 7.8%
9.9 9.9
3 days ago 6 days ago
Python Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

textual

Posts with mentions or reviews of textual. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-05.

nicegui

Posts with mentions or reviews of nicegui. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-01.
  • FastUI: Build Better UIs Faster
    12 projects | news.ycombinator.com | 1 Mar 2024
    I was looking at this space and nicegui seemed like the best ootb experience.

    https://nicegui.io/

  • Show HN: Hyperdiv – Reactive, immediate-mode web UI framework for Python
    9 projects | news.ycombinator.com | 20 Feb 2024
    Dash is similar in spirit, as a "build web UIs with Python" framework. Dash seems more similar to nicegui (https://nicegui.io) architecturally than to Hyperdiv. Like nicegui, it builds a static dom that is then mutated via callbacks or data bindings.

    By contrast, Hyperdiv lays out UI declaratively based on state, and when state changes, the app re-runs, generating an updated UI. Streamlit and Hyperdiv seem to work similarly, though I'm not sure how Streamlit handles state and state-based layout.

  • PysimpleGUI
    10 projects | news.ycombinator.com | 8 Dec 2023
    For native GUI, DearPyGui[0] as modern as you can.

    For browser web-based GUI, you can use nicegui[1]

    [0] -- https://github.com/hoffstadt/DearPyGui

    [1] -- https://github.com/zauberzeug/nicegui

  • Python GUI libraries recommendations?
    1 project | /r/pythontips | 6 Dec 2023
  • Learning building webpages and websites in Python
    3 projects | /r/learnprogramming | 6 Dec 2023
    I want to bring to attention a set of frameworks that make webdevelopment using Python simple and fun. The popular opinion maybe that webpages developed with Python maybe slow. But this is not the case. Do checkout https://github.com/ofjustpy/ofjustpy/, https://github.com/zauberzeug/nicegui/ and https://github.com/justpy-org/justpy . All these frameworks are build on top of Starlette and make web development really easy. If you want simple and ready to use the nicegui is the choice. If you want fast, scalable, and more control then give ofjustpy a try.
  • Updating the progress in UI from run.cpu_bound method
    1 project | /r/nicegui | 5 Dec 2023
  • Moving from Streamlit to Nicegui
    1 project | /r/nicegui | 5 Dec 2023
    Yes, NiceGUI aims for a very gentle learning curve. Coming from Streamlit I suspect your main adaptation will be that in NiceGUI you need to write valid Python code. Streamlit constantly reevaluates your script which feels nice and easy but creates lots of problems down the road. See https://github.com/zauberzeug/nicegui/discussions/21.
  • Show HN: Dropbase – Build internal web apps with just Python
    7 projects | news.ycombinator.com | 5 Dec 2023
    Auth is a big limitation. It's not a built-in component, they have [an example](https://github.com/zauberzeug/nicegui/blob/main/examples/aut...) using the FastAPI layer for auth, but I haven't had time the time to try implementing it. It's definitely not something you get out of the box with NiceGUI.

    For scaling, I am viewing it mostly as an internal tool builder. I wouldn't recommend it for external applications. So as far as scaling an internal app I think it works fine. [Their website](https://nicegui.io) is built with NiceGUI, and it works fine, but you can feel the lag occasionally on some of their larger demo pages.

  • *FOLDER* picker, not file picker?
    1 project | /r/nicegui | 1 Dec 2023
  • Didn't want to click on refresh to see updates, this is what I did!
    2 projects | dev.to | 15 Nov 2023
    Well, I was at PyCon Ireland last weekend and I missed the NiceGUI talk. I hear postive things about it and anything shiney and anything frontend-related always catches my attention (although I admit talking to a friend when I missed this talk was just as fun, and it was worth it).

What are some alternatives?

When comparing textual and nicegui you can also consider the following projects:

pytermgui - Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!

reflex - 🕸️ Web apps in pure Python 🐍

rich - Rich is a Python library for rich text and beautiful formatting in the terminal.

streamlit - Streamlit — A faster way to build and share data apps.

python-prompt-toolkit - Library for building powerful interactive command line applications in Python

flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.

urwid - Console user interface library for Python (official repo)

remi - Python REMote Interface library. Platform independent. In about 100 Kbytes, perfect for your diet.

asciimatics - A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations

dash - Data Apps & Dashboards for Python. No JavaScript Required.

npyscreen - Automatically exported from code.google.com/p/npyscreen

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production