textproc/py-textual-image 0.14.0 FreeBSD
Render images via Kitty's Terminal Graphics Protocol with Rich and Textual
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
c5dd742351- License
- LGPL3
- Categories
- textproc, python
- Package size
- 156.1 KiB, 542.0 KiB installed
Description
textual-image renders images directly in your terminal using Textual and Rich.
textual-image offers both Rich renderables and Textual Widgets that leverage the Terminal Graphics Protocol (TGP) and Sixel protocols to display images in your terminal. For terminals that don't support these protocols, fallback rendering using Unicode characters is available.
Supported Terminals:
- Terminal Graphics Protocol (TGP): Initially introduced by the Kitty terminal emulator. While support is partially available in other terminals, it doesn't seem to be really usable there.
- Sixel Graphics: Supported by various terminal emulators including xterm and a lot of others.
Install
Binary package:
pkg install py312-textual-image
From the ports tree:
cd /usr/ports/textproc/py-textual-image/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-textual-image>0:textproc/py-textual-image
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.14.0 | 0.14.0 | - | - | 0.14.0 |
| FreeBSD:14:quarterly | 0.14.0 | 0.14.0 | n/a | - | 0.14.0 |
| FreeBSD:15:latest | 0.14.0 | 0.14.0 | n/a | - | - |
| FreeBSD:15:quarterly | 0.14.0 | 0.14.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.14.0 | 0.14.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}flit-core>=3.12: devel/py-flit-core
Runtime 2
${PYTHON_PKGNAMEPREFIX}pillow>=10.3.0: graphics/py-pillow${PYTHON_PKGNAMEPREFIX}rich>=13.4.0: textproc/py-rich
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 59
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- converters/fribidi
- converters/libiconv
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-olefile
- devel/py-packaging
- devel/readline
- graphics/gdk-pixbuf2
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libavif
- graphics/libimagequant
- graphics/libyuv
- graphics/openjpeg
- graphics/png
- graphics/py-pillow
- graphics/tiff
- graphics/webp
- lang/python312
- lang/python315
- lang/tcl86
- math/mpdecimal
- misc/shared-mime-info
- multimedia/aom
- multimedia/dav1d
- multimedia/vmaf
- print/freetype2
- print/harfbuzz
- print/indexinfo
- print/libraqm
- textproc/expat2
- textproc/libxml2
- textproc/py-markdown-it-py
- textproc/py-mdurl
- textproc/py-pygments
- textproc/py-rich
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/py-tkinter
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/xorgproto
Required by 1
Configuration
Options name: textproc_textual-image
| Option | Default | Description |
|---|---|---|
| NUMPY | off | NumPy mathematical computing support |
| TEXTUAL | off | Textual support |
- USES
- python:3.12+ shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| textual_image-0.14.0.tar.gz | 172914 | 230e2c38738a3d96ca3bcf99c6680b898917003bb21bd5fa7e22cbb16e843235 |
Master sites 1
- PYPI