BSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.14.00.14.0--0.14.0
FreeBSD:14:quarterly0.14.00.14.0n/a-0.14.0
FreeBSD:15:latest0.14.00.14.0n/a--
FreeBSD:15:quarterly0.14.00.14.0n/an/an/a
FreeBSD:16:latest0.14.00.14.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 15
Run dependencies 59
Required by 1

Configuration

Options name: textproc_textual-image

OptionDefaultDescription
NUMPYoffNumPy mathematical computing support
TEXTUALoffTextual support
USES
python:3.12+ shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
textual_image-0.14.0.tar.gz172914230e2c38738a3d96ca3bcf99c6680b898917003bb21bd5fa7e22cbb16e843235
Master sites 1
  • PYPI

Commit history 2

DateCommitCreditsLog message
c5dd742351 Po-Chuan Hsieh textproc/py-textual-image: Update to 0.14.0
Changes: https://github.com/lnqs/textual-image/releases https://github.com/lnqs/textual-image/blob/main/CHANGELOG.md
95cf5aa789 Po-Chuan Hsieh textproc/py-textual-image: Update to 0.13.2
Changes: https://github.com/lnqs/textual-image/releases https://github.com/lnqs/textual-image/blob/main/CHANGELOG.md