SHORTLIST20
日本語
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
プログラミング

Python コマンドラインアプリ用ライブラリ トップ20

Click, Typer, Rich, tqdm, Textual and other ways to build CLIs and terminal UIs in Python

更新 · GitHub stars (stars)

なぜこの20か

Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence, the last push and the section of the community list it sits in. Argument parsers (Click, Typer), terminal output (Rich, tqdm, colorama) and full terminal UI frameworks (Textual, urwid) are in one list, so check the 'listed under' column. Python's built-in argparse has no repository of its own and can't be ranked, though it ships with every Python.

このリストは役に立ちましたか?
  1. 1

    rich

    Python library for rich text and beautiful formatting in the terminal. Also provides a great log handler.

    57,941 stars 2,687 forkslast push 2026-11-13PythonMIT

  2. 2

    textual

    A framework for building interactive user interfaces that run in the terminal and the browser.

    37,782 stars 1,557 forkslast push 2026-11-09PythonMIT

  3. 3

    tqdm

    Fast, extensible progress bar for loops and CLI.

    31,403 stars 2,036 forkslast push 2026-11-02PythonNOASSERTION

  4. 4

    typer

    Modern CLI framework that uses Python type hints. Built on Click.

    20,484 stars 1,069 forkslast push 2026-11-26PythonMIT

  5. 5

    click

    A package for creating beautiful command-line interfaces in a composable way.

    17,853 stars 2,945 forkslast push 2026-11-16PythonBSD-3-Clause

  6. 6

    prompt_toolkit

    A library for building powerful interactive command lines.

    10,630 stars 848 forkslast push 2026-10-20PythonBSD-3-Clause

  7. 7

    alive-progress

    A new kind of progress bar, with real-time throughput, ETA and very cool animations.

    6,335 stars 242 forkslast push 2026-05-24PythonMIT

  8. 8

    asciimatics

    A package to create full-screen text UIs (from interactive forms to ASCII animations).

    4,312 stars 271 forkslast push 2026-11-29PythonApache-2.0

  9. 9

    colorama

    Cross-platform colored terminal text.

    3,801 stars 298 forkslast push 2026-05-13PythonBSD-3-Clause

  10. 10

    urwid

    A library for creating terminal GUI applications with strong support for widgets, events, rich colors, etc.

    3,027 stars 347 forkslast push 2026-11-30PythonLGPL-2.1

  11. 11

    pyfiglet

    An implementation of figlet written in Python.

    1,594 stars 156 forkslast push 2026-08-02PythonNOASSERTION

  12. 12

    cyclopts

    Build CLIs from type-hinted functions, with docstring-based help.

    1,308 stars 79 forkslast push 2026-11-30PythonApache-2.0

並べて比較

LicencePlatformsWhat it doesPython versionsAsync supportType hintsPlugins and ecosystemBest for
richMIT LicenseCross-platform (Linux, macOS, Windows)Renders rich text, tables, progress bars, syntax highlighting, and tracebacks in terminals.>= 3.8No dedicated async loop; compatible with asyncio via threads and Live display.Fully typed with py.typed marker included.Rich-CLI, Textual, and integrations with pytest, logging, and Typer.Terminal output styling, formatted tables, tracebacks, and Markdown rendering.
textualMIT LicenseCross-platform (Linux, macOS, Windows, web browsers)Rapid application development framework for terminal user interfaces and web applications.>= 3.8Built on asyncio with native async and await support across components.Fully typed with py.typed marker included.textual-dev, textual-web, textual-plotext, and extensive custom widget ecosystem.Complex, interactive terminal user interfaces and full-screen dashboard applications.
tqdmMPL-2.0 and MIT LicenseCross-platform (Linux, macOS, Windows, Unix, Jupyter Notebooks)Generates fast, configurable progress bars for loops, iterables, and CLI pipes.>= 3.7Native async iterator support via tqdm.asyncio module.External type stubs available via types-tqdm.Integrations for Jupyter notebooks, pandas, dask, and keras.Wrapping loops and iterables with low-overhead progress bars.
typerMIT LicenseCross-platform (Linux, macOS, Windows)CLI framework generating command-line parsers from standard Python type hints.>= 3.8––Built on Click with native Rich formatting and shell completion.–
clickBSD-3-Clause LicenseCross-platform (Linux, macOS, Windows)Composable command-line interface toolkit providing parameter parsing and command nesting.>= 3.10–Supports type hints and ships with py.typed marker.click-plugins, rich-click, Typer, and wide Pallets ecosystem integration.–
prompt_toolkitBSD-3-Clause LicenseCross-platform (Linux, macOS, Windows)Builds interactive command line applications, REPLs, and full-screen text interfaces.>= 3.10Native asyncio integration via run_async and prompt_async methods.Fully typed with py.typed marker included.Powers ptpython, IPython CLI, pgcli, mycli, and PyInquirer.Interactive prompts, autocompletion, syntax highlighting, and custom REPLs.
alive-progressMIT LicenseCross-platform (Linux, macOS, Windows)Displays animated terminal progress bars with real-time throughput and ETA metrics.>= 3.9No native asyncio support; uses standard background threads for animations.Partial type hints; no py.typed marker shipped.Built-in customizable spinners, bar factories, and logging stream hooks.Animated progress monitoring with visual feedback and throughput calculations.
asciimaticsApache-2.0 LicenseCross-platform (Linux, macOS, Windows, Android/Termux)Creates full-screen text user interfaces, interactive forms, and ASCII animations.>= 3.6Uses its own synchronous rendering loop; no direct asyncio integration.No formal type hints or py.typed support.Integrates with Pillow and pyfiglet for fonts and particle effects.Full-screen terminal ASCII animations, terminal games, and interactive curses-style forms.
coloramaBSD-3-Clause LicenseCross-platform (Windows, Linux, macOS)Translates ANSI escape character sequences into colored terminal output on Windows.>= 3.7Synchronous stdout wrapper; safely callable from async code.External type stubs available via types-colorama.Widely adopted by pytest, Click, pip, and various terminal utilities.Cross-platform ANSI color output on legacy and modern Windows consoles.
urwidLGPL-2.1-or-laterUnix, Linux, macOS, Cygwin, WindowsConsole user interface library with widget hierarchies, event loops, and styles.>= 3.8Pluggable event loops supporting asyncio, Twisted, GLib, and Tornado.Typed with py.typed marker included in Urwid 3.0+.urwid-readline, panwid, and broad support in terminal email/IRC clients.Complex multi-widget console applications, file managers, and curses-like UIs.
pyfigletMIT LicenseCross-platform (Linux, macOS, Windows, Unix)Pure-Python implementation of FIGlet that generates large ASCII text banners.>= 3.9No async support; operations are purely synchronous string generation.Untyped; no type hints or py.typed provided.Compatible with standard FIGlet font files (.flf, .tlf).Creating ASCII text banners, headings, and terminal logos.
cycloptsApache-2.0 LicenseCross-platform (Linux, macOS, Windows)CLI framework using type annotations, docstrings, and Rich for help formatting.>= 3.11Native support for async command execution via asyncio or trio backends.Fully typed; uses Python types, Pydantic, and dataclasses for validation.Integrates Rich help formatting, Pydantic, Attrs, and docstring parsers.Modern Python 3.11+ CLIs leveraging advanced type hints and docstring parsing.

各セルはツールの公式サイト、ドキュメント、リポジトリから取っています。ページは参考資料にあります。

測り方

Every library in the CLI Development section of the community list vinta/awesome-python on GitHub that has a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Refreshed every 6 hours.

参考資料

  1. vinta/awesome-python: CLI Development, GitHub community list (list text CC BY 4.0; star counts from the GitHub API). Checked 2026-11-30 17:51 UTC.
  2. vinta/awesome-python (CLI Development), GitHub community list, 12 tools with a public repository.
  3. rich: licence, github.com, checked 2026-11-15.
  4. rich: platforms, github.com, checked 2026-11-15.
  5. rich: python versions, github.com, checked 2026-11-15.
  6. rich: async support, rich.readthedocs.io, checked 2026-11-15.
  7. textual: licence, github.com, checked 2026-11-15.
  8. textual: platforms, github.com, checked 2026-11-15.
  9. textual: python versions, github.com, checked 2026-11-15.
  10. textual: async support, textual.textualize.io, checked 2026-11-15.
  11. tqdm: licence, github.com, checked 2026-11-15.
  12. tqdm: platforms, github.com, checked 2026-11-15.
  13. tqdm: async support, tqdm.github.io, checked 2026-11-15.
  14. tqdm: type hints, github.com, checked 2026-11-15.
  15. typer: licence, github.com, checked 2026-11-15.
  16. typer: platforms, github.com, checked 2026-11-15.
  17. typer: python versions, github.com, checked 2026-11-15.
  18. click: licence, github.com, checked 2026-11-15.
  19. click: platforms, github.com, checked 2026-11-15.
  20. click: python versions, github.com, checked 2026-11-15.
  21. prompt_toolkit: licence, github.com, checked 2026-11-15.
  22. prompt_toolkit: platforms, github.com, checked 2026-11-15.
  23. prompt_toolkit: python versions, github.com, checked 2026-11-15.
  24. prompt_toolkit: async support, python-prompt-toolkit.readthedocs.io, checked 2026-11-15.
  25. alive-progress: licence, github.com, checked 2026-11-15.
  26. alive-progress: platforms, github.com, checked 2026-11-15.
  27. alive-progress: python versions, github.com, checked 2026-11-15.
  28. asciimatics: licence, github.com, checked 2026-11-15.
  29. asciimatics: async support, asciimatics.readthedocs.io, checked 2026-11-15.
  30. colorama: licence, github.com, checked 2026-11-15.
  31. colorama: platforms, github.com, checked 2026-11-15.
  32. urwid: licence, github.com, checked 2026-11-15.
  33. urwid: platforms, github.com, checked 2026-11-15.
  34. urwid: async support, urwid.org, checked 2026-11-15.
  35. urwid: best for, urwid.org, checked 2026-11-15.
  36. pyfiglet: licence, github.com, checked 2026-11-15.
  37. pyfiglet: platforms, github.com, checked 2026-11-15.
  38. cyclopts: licence, github.com, checked 2026-11-15.
  39. cyclopts: platforms, github.com, checked 2026-11-15.
  40. cyclopts: async support, cyclopts.readthedocs.io, checked 2026-11-15.