urwid
A full-featured console (xterm et al.) user interface library
Decision gist · record as of 2026-08-14
Yes. Urwid is a stable, actively maintained library with low install friction and no known vulnerabilities. The copyleft license (LGPL-2.1-only) is a real constraint for proprietary software but poses no issue for open-source or internal tools. Install it if you need to build a non-trivial console UI; for simple output, consider lighter alternatives.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Windows 10+ only for Windows support; some features (Terminal widget, ZMQ event loop) unavailable on Windows.
- Low friction: pure Python wheel with only two lightweight runtime dependencies (wcwidth and typing-extensions).
License · maintenance · safety
LGPL-2.1-only (copyleft) — Licensed under LGPL-2.1-only (copyleft). You must distribute source code and license terms with any derivative work; proprietary applications cannot use this package without dual licensing.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 3,012 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,828,798 downloads/mo, #1,839 on PyPI
Alternatives
Verify before relying
pip install urwid
import urwid
text = urwid.Text("Hello, World!")
urwid.MainLoop(text).run()- Whether the experimental LCD and web display modules are production-ready or still under active development.
- Performance characteristics when handling very large scrollable lists or complex widget hierarchies.
What it is and what it does
Urwid is a mature console UI library that abstracts away terminal complexity and lets you build interactive text applications using a widget-based model. It handles rendering, input events, and terminal compatibility across Unix-like systems and partially Windows, supporting UTF-8 and various color modes (24-bit true color down to 88 color). The library includes pre-built widgets (text boxes, buttons, checkboxes, radio buttons, list boxes) and lets you choose your event loop (asyncio, Twisted, Glib, Tornado, trio, ZeroMQ, or a built-in select-based loop), making it suitable for everything from simple CLI tools to complex interactive applications.
You use Urwid by composing widgets into a display hierarchy, wrapping them in a MainLoop, and running the loop to handle user input and rendering. The library handles automatic text wrapping and alignment, smooth resizing, and terminal mode negotiation. It's been in active development since 2012 with a large contributor base and is currently maintained by multiple developers.
Use it for
- Build interactive CLI tools with menus, forms, and scrollable lists without wrestling with raw curses.
- Create system monitoring dashboards or admin interfaces that run in a terminal.
- Develop text-based games or interactive fiction with rich UI elements.
- Build terminal-based data browsers or log viewers with dynamic content.
- Integrate terminal UI into async Python applications using asyncio or Twisted event loops.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Urwid is a stable, actively maintained library with low install friction and no known vulnerabilities. The copyleft license (LGPL-2.1-only) is a real constraint for proprietary software but poses no issue for open-source or internal tools. Install it if you need to build a non-trivial console UI; for simple output, consider lighter alternatives.
Install
urwid on PyPI
Before you install
Low friction: pure Python wheel with only two lightweight runtime dependencies (wcwidth and typing-extensions). Actively maintained with recent release and steady commit activity.
Requires Python 3.9 or later. Windows 10+ only for Windows support; some features (Terminal widget, ZMQ event loop) unavailable on Windows.
License in practice
Licensed under LGPL-2.1-only (copyleft). You must distribute source code and license terms with any derivative work; proprietary applications cannot use this package without dual licensing.
Quickstart
pip install urwid
import urwid
text = urwid.Text("Hello, World!")
urwid.MainLoop(text).run()
Verify before relying
- Whether the experimental LCD and web display modules are production-ready or still under active development.
- Performance characteristics when handling very large scrollable lists or complex widget hierarchies.
Package facts
| License | LGPL-2.1-only copyleft |
| Python support | Supports the current Python release >=3.9.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packageswcwidthtyping-extensions |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,828,798 / month, #1,839 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Console :: CursesIntended Audience :: DevelopersOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Widget Sets |
Evidence: urwid-4.0.9-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “console ui library python”
- urwidUrwid is a Python console UI library that lets you build text-based…
- asciimaticsAsciimatics provides cross-platform terminal UI and ASCII animation…
- windows-cursesProvides the standard Python curses module on Windows by wrapping…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also urwid-readline · windows-curses · pythondialog · colored · ipywidgets · jinxed · asciimatics · progressbar33 · blessed · reprint