imgcat
imgcat as Python API and CLI
Decision gist · record as of 2026-08-14
Yes, if you use iTerm2, WezTerm, or tmux and want inline image display in your terminal. The package has no runtime dependencies, making it lightweight to install. However, the aging maintenance status and high install friction (source-only distribution) mean you should verify compatibility with your specific terminal version before relying on it for critical workflows. Not useful outside compatible terminal emulators.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a terminal emulator that supports iTerm2's inline image protocol (iTerm2, WezTerm, or tmux with version-specific configuration).
- High install friction: source distribution only.
- Maintenance is aging—631 days since last release, though repository remains active with recent commit on 2025-04-26.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) imposes no restrictions on use, modification, or distribution.
last release 2024-11-21 (631 days) · last repo commit 2025-04-26 · 283 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 197,615 downloads/mo, #9,755 on PyPI
Alternatives
Verify before relying
pip install imgcat
from imgcat import imgcat
imgcat(open("./local_image.png"))- Whether the package works reliably with current versions of iTerm2 and WezTerm given the aging maintenance status.
- Specific tmux version compatibility constraints beyond the notes about tmux 2.5+ and 3.3a.
- Whether numpy and matplotlib are truly optional or required for core functionality.
What it is and what it does
imgcat is a Python CLI and library that renders images directly in terminal emulators that support inline image protocols. It works with iTerm2, WezTerm, and tmux (with version-specific caveats), and can display images from files, stdin, numpy arrays, PIL Image objects, and matplotlib figures. The package also provides a matplotlib backend so that plotting code can render directly to the terminal instead of to a window or file.
The core use case is interactive terminal workflows where you want to see image output without leaving the shell or opening external viewers. It has no runtime dependencies, making installation straightforward on systems where the terminal emulator already supports the protocol. The main constraint is terminal compatibility—the feature only works in emulators that implement iTerm2's inline image protocol or WezTerm's equivalent.
Use it for
- Display matplotlib plots directly in the terminal during interactive data exploration or scripting.
- View image files from the command line without opening an external image viewer.
- Render numpy arrays and PIL images inline in a terminal REPL or Jupyter notebook.
- Use as a matplotlib backend in scripts to capture plot output to the terminal instead of a file.
- Pipe image data through stdin to imgcat for quick preview in shell pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use iTerm2, WezTerm, or tmux and want inline image display in your terminal.
The package has no runtime dependencies, making it lightweight to install. However, the aging maintenance status and high install friction (source-only distribution) mean you should verify compatibility with your specific terminal version before relying on it for critical workflows. Not useful outside compatible terminal emulators.
Install
imgcat on PyPI
Before you install
High install friction: source distribution only. Maintenance is aging—631 days since last release, though repository remains active with recent commit on 2025-04-26.
Requires a terminal emulator that supports iTerm2's inline image protocol (iTerm2, WezTerm, or tmux with version-specific configuration).
License in practice
MIT license (permissive) imposes no restrictions on use, modification, or distribution.
Quickstart
pip install imgcat
from imgcat import imgcat
imgcat(open("./local_image.png"))
Verify before relying
- Whether the package works reliably with current versions of iTerm2 and WezTerm given the aging maintenance status.
- Specific tmux version compatibility constraints beyond the notes about tmux 2.5+ and 3.3a.
- Whether numpy and matplotlib are truly optional or required for core functionality.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Aging 631 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 197,615 / month, #9,755 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaLicense :: OSI Approved :: MIT LicenseOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: imgcat-0.6.0.tar.gz
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 › “iterm2 imgcat python”
- imgcatDisplays images in iTerm2, WezTerm, and tmux by rendering them…
- iterm2Provides a Python scripting interface to iTerm2's automation and…
- textual-imageRenders images directly in terminal emulators using Textual widgets…
Give your agent the search over MCP, or paste the wish link into any chat.
More Terminals packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Rich renders styled text, tables, progress bars, syntax highlighting, markdown, and tracebacks to the terminal with minimal code.
Colorama makes ANSI escape sequences for colored terminal text work on Windows by intercepting and converting them to win32 API calls, while passing through unchanged on other platforms.
Install it if you need colored terminal output to work on Windows or want to use ANSI-based libraries portably; skip it only if you target non-Windows platforms…
Measures the displayed width of Unicode strings in terminals, accounting for wide characters, combining marks, and terminal escape sequences that standard Python string functions mishandle.
Install it if your application formats text for terminals and handles non-ASCII characters.
Run a subprocess in a pseudo terminal (pty) and interact with its input and output, enabling automation of interactive programs that require terminal features like password prompts or curses-style interfaces.
However, note that it is aging (last release 2020-12-28) and not actively maintained; it works well for its narrow, well-defined purpose but won't receive updates for…
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
See also iterm2 · textual-image · libtmux · tmuxp · termplotlib · matplotlib-inline · pairmux · matplotlib-scalebar · koreanize-matplotlib · histoprint